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