Function functils::ifte
[−]
[src]
pub fn ifte<A>(x: A, y: A, b: bool) -> A
Works like Haskell's bool, this is a way to do an inline if then else statement if b then x else y