Skip to main content

either

Function either 

Source
pub fn either<T>(when: bool, yes: T, no: T) -> T