BooleanExtensions extension
Extensions for non-nullable bool values.
- on
Methods
-
isFalse(
) → bool -
Available on bool, provided by the BooleanExtensions extension
Returns whether this value isfalse. -
isNotFalse(
) → bool -
Available on bool, provided by the BooleanExtensions extension
Returns whether this value is notfalse. -
isNotTrue(
) → bool -
Available on bool, provided by the BooleanExtensions extension
Returns whether this value is nottrue. -
isTrue(
) → bool -
Available on bool, provided by the BooleanExtensions extension
Returns whether this value istrue. -
toggle(
) → bool -
Available on bool, provided by the BooleanExtensions extension
Returns the opposite boolean value. -
toInt(
) → int -
Available on bool, provided by the BooleanExtensions extension
Converts the boolean value to an integer.