Trait snarkvm_console_account::Ternary
pub trait Ternary {
type Boolean;
type Output;
// Required method
fn ternary(
condition: &Self::Boolean,
first: &Self,
second: &Self
) -> Self::Output
where Self: Sized;
}
Expand description
Trait for ternary operations.