static A boolSwitch(Bool b, A onTrue, A onFalse, A onNull) { ret isTrue(b) ? onTrue : isFalse(b) ? onFalse : onNull; }