Class for return values from the Boolean2 ternary operator.
Class for return values from the Boolean2 ternary operator. This class provides the "|" operator that can be used to specify a default value (i.e. the RHS of the "or")
The value returned by the ternary operator if the predicate is true.
Ternary operator.
Ternary operator.
a BooleanSome containing the specified value if the decorated boolean is true, or a BooleanNone otherwise.
The value returned by the ternary operator if the predicate is false.
This decorator class adds a ternary operator to a Boolean value