MCPcopy Index your code
hub / github.com/ZeroIntensity/pointers.py / is_mappable

Function is_mappable

src/pointers/_utils.py:121–127  ·  view source on GitHub ↗

Whether the specified type is mappable to C.

(typ: Any)

Source from the content-addressed store, hash-verified

119
120
121def is_mappable(typ: Any) -> bool:
122 """Whether the specified type is mappable to C."""
123 try:
124 get_mapped(typ)
125 return True
126 except ValueError:
127 return False
128
129
130def get_py(

Callers

nothing calls this directly

Calls 1

get_mappedFunction · 0.85

Tested by

no test coverage detected