pmt: Booleans

pmt.is_bool(swig_int_ptr obj) → bool

Return true if obj is #t or #f, else return false.

pmt.is_true(swig_int_ptr obj) → bool

Return false if obj is #f, else return true.

pmt.is_false(swig_int_ptr obj) → bool

Return true if obj is #f, else return true.

pmt.from_bool(bool val) → swig_int_ptr

Return #f is val is false, else return #t.

pmt.to_bool(swig_int_ptr val) → bool

Return true if val is pmt::True, return false when val is pmt::PMT_F,.

Previous topic

pmt: BLOBs

Next topic

pmt: Misc

This Page