MCPcopy Create free account
hub / github.com/BasisResearch/lean.py / __bool__

Method __bool__

lean_py/z3/core.py:334–335  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

332 return hash(self._ast)
333
334 def __bool__(self) -> bool:
335 raise TypeError("Symbolic expressions cannot be cast to concrete Boolean values")
336
337 def num_args(self) -> int:
338 """Number of arguments (children) of this expression."""

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected