(typ: Type)
| 9621 | |
| 9622 | |
| 9623 | def is_string_literal(typ: Type) -> bool: |
| 9624 | strs = try_getting_str_literals_from_type(typ) |
| 9625 | return strs is not None and len(strs) == 1 |
| 9626 | |
| 9627 | |
| 9628 | def has_bool_item(typ: ProperType) -> bool: |
no test coverage detected
searching dependent graphs…