BooleanExpressionOperators extension

Defines operations on boolean values.

on

Methods

not() Expression<bool>
Negates this boolean expression. The returned expression is true if this is false, and vice versa.

Operators

operator &(Expression<bool> other) Expression<bool>
Returns an expression that is true iff both this and other are true.
operator |(Expression<bool> other) Expression<bool>
Returns an expression that is true if this or other are true.