Function gadgets::util::select::value_word
source · pub fn value_word<F: Field>(
selector: F,
when_true: [u8; 32],
when_false: [u8; 32]
) -> [u8; 32]
Expand description
Returns the when_true
word when selector is true, else returns the
when_false
word.