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