MCPcopy Create free account
hub / github.com/anomalyco/opencode-sdk-python / is_dict

Function is_dict

src/opencode_ai/_utils/_utils.py:168–169  ·  view source on GitHub ↗
(obj: object)

Source from the content-addressed store, hash-verified

166
167
168def is_dict(obj: object) -> TypeGuard[dict[object, object]]:
169 return isinstance(obj, dict)
170
171
172def is_list(obj: object) -> TypeGuard[list[object]]:

Callers 5

assert_matches_typeFunction · 0.90
async_clientFunction · 0.90
_build_requestMethod · 0.85
_extract_itemsFunction · 0.85

Calls

no outgoing calls

Tested by 2

async_clientFunction · 0.72