MCPcopy Index your code
hub / github.com/github/copilot-sdk / from_bool

Function from_bool

python/copilot/generated/rpc.py:47–49  ·  view source on GitHub ↗
(x: Any)

Source from the content-addressed store, hash-verified

45 return cast(Any, x).to_dict()
46
47def from_bool(x: Any) -> bool:
48 assert isinstance(x, bool)
49 return x
50
51def from_float(x: Any) -> float:
52 assert isinstance(x, (float, int)) and not isinstance(x, bool)

Callers 15

from_dictMethod · 0.70
to_dictMethod · 0.70
from_dictMethod · 0.70
to_dictMethod · 0.70
from_dictMethod · 0.70
to_dictMethod · 0.70
from_dictMethod · 0.70
to_dictMethod · 0.70
from_dictMethod · 0.70
to_dictMethod · 0.70
from_dictMethod · 0.70
to_dictMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…