Skip to main content

choice_from_nz

Function choice_from_nz 

Source
pub(crate) const fn choice_from_nz(value: Word) -> Choice
Expand description

Returns the truthy value if value != 0, and the falsy value otherwise.