BooleanExtensions extension

on

Methods

and(bool? other) → bool?

Available on bool?, provided by the BooleanExtensions extension

Performs a logical and operation between this Boolean and the other one. Unlike the && operator, this function does not perform short-circuit evaluation. Both this and other will always be evaluated.
not() → bool?

Available on bool?, provided by the BooleanExtensions extension

Returns the inverse of this boolean.
or(bool? other) → bool?

Available on bool?, provided by the BooleanExtensions extension

Performs a logical or operation between this Boolean and the other one. Unlike the || operator,
xor(bool? other) → bool?

Available on bool?, provided by the BooleanExtensions extension

Performs a logical xor operation between this Boolean and the other one.