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

Function lean_is_mpz

lean_py/_runtime.py:429–430  ·  view source on GitHub ↗
(self, o)

Source from the content-addressed store, hash-verified

427 return self.lean_ptr_tag(o) == constants.get("LeanString", 249)
428
429 def lean_is_mpz(self, o):
430 return self.lean_ptr_tag(o) == constants.get("LeanMPZ", 250)
431
432 def lean_is_thunk(self, o):
433 return self.lean_ptr_tag(o) == constants.get("LeanThunk", 251)

Callers

nothing calls this directly

Calls 1

getMethod · 0.45

Tested by

no test coverage detected