Skip to main content

lean_is_ref

Function lean_is_ref 

Source
pub unsafe fn lean_is_ref(o: *mut lean_object) -> bool
Expand description

True if o is a Lean Ref object (lean.h:575).

ยงSafety

o must be a valid non-scalar Lean heap object pointer.