Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
168
def
is_dict(obj: object) -> TypeGuard[dict[object, object]]:
169
return
isinstance(obj, dict)
170
171
172
def
is_list(obj: object) -> TypeGuard[list[object]]:
Callers
5
assert_matches_type
Function · 0.90
pytest_collection_modifyitems
Function · 0.90
async_client
Function · 0.90
_build_request
Method · 0.85
_extract_items
Function · 0.85
Calls
no outgoing calls
Tested by
2
pytest_collection_modifyitems
Function · 0.72
async_client
Function · 0.72