Skip to main content

choice_from_lsb

Function choice_from_lsb 

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

Returns the truthy value if value == 1, and the falsy value if value == 0.