(thing: Any, type_or_types: type[Any] | tuple[type[Any], ...])
| 166 | |
| 167 | |
| 168 | def is_sequence(thing: Any, type_or_types: type[Any] | tuple[type[Any], ...]) -> bool: |
| 169 | return isinstance(thing, Sequence) and all( |
| 170 | isinstance(x, type_or_types) for x in thing |
| 171 | ) |
no outgoing calls
no test coverage detected
searching dependent graphs…