BooleanStateExtension extension

Extension on boolean values to provide additional utility methods.

on

Properties

isActive bool

Available on bool, provided by the BooleanStateExtension extension

Returns true if the current boolean value is active, otherwise false.
no setter
isChecked bool

Available on bool, provided by the BooleanStateExtension extension

Returns true if the current boolean value is checked, otherwise false.
no setter
isDisabled bool

Available on bool, provided by the BooleanStateExtension extension

Returns true if the current boolean value is disabled, otherwise false.
no setter
isEnabled bool

Available on bool, provided by the BooleanStateExtension extension

Returns true if the current boolean value is enabled, otherwise false.
no setter
isFalse bool

Available on bool, provided by the BooleanStateExtension extension

Returns true if the current boolean value is false, otherwise false.
no setter
isHidden bool

Available on bool, provided by the BooleanStateExtension extension

Returns true if the current boolean value is hidden, otherwise false.
no setter
isInactive bool

Available on bool, provided by the BooleanStateExtension extension

Returns true if the current boolean value is inactive, otherwise false.
no setter
isSelected bool

Available on bool, provided by the BooleanStateExtension extension

Returns true if the current boolean value is selected, otherwise false.
no setter
isTrue bool

Available on bool, provided by the BooleanStateExtension extension

Returns true if the current boolean value is true, otherwise false.
no setter
isUnchecked bool

Available on bool, provided by the BooleanStateExtension extension

Returns true if the current boolean value is unchecked, otherwise false.
no setter
isUnselected bool

Available on bool, provided by the BooleanStateExtension extension

Returns true if the current boolean value is unselected, otherwise false.
no setter
isVisible bool

Available on bool, provided by the BooleanStateExtension extension

Returns true if the current boolean value is visible, otherwise false.
no setter
not bool

Available on bool, provided by the BooleanStateExtension extension

Returns the opposite of the current boolean value.
no setter