Skip to main content

pamoja_trigger_is_set

Function pamoja_trigger_is_set 

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

Reports whether a trigger’s condition currently holds.

§Returns

true from the reading that set the trigger until the one that clears it, or false if trigger is null.

§Safety

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