Example #1
0
 public static bool Possible(this Tristate v) => v != Tristate.No;
Example #2
0
 public static bool Impossible(this Tristate v) => v == Tristate.No;
Example #3
0
 public static bool IsMaybe(this Tristate v) => v == Tristate.Maybe;
Example #4
0
 public static bool IsNo(this Tristate v) => v == Tristate.No;
Example #5
0
 public static bool IsYes(this Tristate v) => v == Tristate.Yes;