MCPcopy Index your code
hub / github.com/PyGithub/PyGithub / is_undefined

Function is_undefined

github/GithubObject.py:137–138  ·  view source on GitHub ↗
(v: T | _NotSetType)

Source from the content-addressed store, hash-verified

135
136
137def is_undefined(v: T | _NotSetType) -> TypeGuard[_NotSetType]:
138 return isinstance(v, _NotSetType)
139
140
141def is_optional(v: Any, type: type | tuple[type, ...]) -> bool:

Callers 15

withLazyMethod · 0.90
create_review_commentMethod · 0.90
_useAttributesMethod · 0.90
get_userMethod · 0.90
get_commentsMethod · 0.90
invite_userMethod · 0.90
shaMethod · 0.90
treeMethod · 0.90
__repr__Method · 0.90
_identityMethod · 0.90
create_forkMethod · 0.90
repositoryMethod · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…