MCPcopy
hub / github.com/PyGithub/PyGithub / is_defined

Function is_defined

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

Source from the content-addressed store, hash-verified

131
132
133def is_defined(v: T | _NotSetType) -> TypeGuard[T]:
134 return not isinstance(v, _NotSetType)
135
136
137def is_undefined(v: T | _NotSetType) -> TypeGuard[_NotSetType]:

Callers 15

editMethod · 0.90
get_check_runsMethod · 0.90
_identityMethod · 0.90
create_reviewMethod · 0.90
get_review_commentsMethod · 0.90
_identityMethod · 0.90
get_gistsMethod · 0.90
_identityMethod · 0.90
editMethod · 0.90
get_repoMethod · 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…