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

Function lean_py_is_initialized

LeanPy/native/python_bridge.c:428–432  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

426}
427
428LEAN_EXPORT lean_obj_res lean_py_is_initialized(lean_obj_arg unit, lean_obj_arg world) {
429 (void)world;
430 uint8_t v = py_initialized ? 1 : 0;
431 return lean_io_result_mk_ok(lean_box(v));
432}
433
434/* ------------------------------------------------------------------ */
435/* Helpers */

Callers

nothing calls this directly

Calls 1

lean_boxFunction · 0.85

Tested by

no test coverage detected