(obj: _T | NotGiven | Omit)
| 158 | |
| 159 | |
| 160 | def is_given(obj: _T | NotGiven | Omit) -> TypeGuard[_T]: |
| 161 | return not isinstance(obj, NotGiven) and not isinstance(obj, Omit) |
| 162 | |
| 163 | |
| 164 | class="cm"># Type safe methods for narrowing types with TypeVars. |
no outgoing calls
no test coverage detected