(v: Any, type: type | tuple[type, ...])
| 139 | |
| 140 | |
| 141 | def is_optional(v: Any, type: type | tuple[type, ...]) -> bool: |
| 142 | return isinstance(v, _NotSetType) or isinstance(v, type) |
| 143 | |
| 144 | |
| 145 | def is_optional_list(v: Any, type: type | tuple[type, ...]) -> bool: |
no outgoing calls
no test coverage detected
searching dependent graphs…