Skip to main content

pamoja_trigger_watches_above

Function pamoja_trigger_watches_above 

Source
#[unsafe(no_mangle)]
pub unsafe extern "C" fn pamoja_trigger_watches_above( trigger: *const PamojaTrigger, ) -> bool
Expand description

Reports whether a trigger watches a rising reading.

§Returns

true for a trigger from pamoja_trigger_above, and false for one from pamoja_trigger_below or if trigger is null.

§Safety

trigger must be a live handle from a trigger constructor, or null.