BoolOperators extension
Extension to define operators for Valuable
Methods
-
negation(
) → Valuable< bool> - Create a new Valuable
-
then<
Output> (Valuable< Output> value, {Valuable<Output> ? elseValue}) → Valuable<Output> - Get a new Valuable whom the value depends on the current Valuable value
-
thenValue<
Output> (Output value, {required Output elseValue}) → Valuable< Output> - Same as then function, but with direct value as parameters
Operators
-
operator &(
Valuable< bool> other) → Valuable<bool> - Logical AND between Valuable/boolean value
-
operator |(
Valuable< bool> other) → Valuable<bool> - Logical OR between Valuable/boolean value