Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/pytest-dev/pytest
/ isset
Function
isset
src/_pytest/assertion/_guards.py:21–22 ·
view source on GitHub ↗
(x: object)
Source
from the content-addressed store, hash-verified
19
20
21
def
isset(x: object) -> TypeGuard[set[object] | frozenset[object]]:
22
return
isinstance(x, set | frozenset)
23
24
25
def
isnamedtuple(obj: object) -> bool:
Callers
2
assertrepr_compare
Function · 0.90
_compare_eq_any
Function · 0.90
Calls
no outgoing calls
Tested by
no test coverage detected