(value: Any)
| 42 | |
| 43 | |
| 44 | def is_primitive(value: Any) -> bool: |
| 45 | # Tuples don't allow for write access |
| 46 | if isinstance(value, tuple): |
| 47 | return all(map(is_primitive, value)) |
| 48 | return isinstance(value, PRIMITIVES) |
| 49 | |
| 50 | |
| 51 | def is_primitive_type(value: type) -> bool: |
no test coverage detected
searching dependent graphs…