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

Method decl_exists

lean_py/kernel.py:294–295  ·  view source on GitHub ↗
(self, name: str)

Source from the content-addressed store, hash-verified

292 return s.split("\n") if s else []
293
294 def decl_exists(self, name: str) -> bool:
295 return self._lib.leanpy_kernel_decl_exists(name)
296
297 def decl_type(self, name: str) -> str:
298 return self._lib.leanpy_kernel_decl_type(name)

Callers 1

mainFunction · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected