ReactiveBool extension

Extension for Reactive<bool> providing common boolean utilities.

on

Properties

isFalse bool

Available on Reactive<bool>, provided by the ReactiveBool extension

Returns true if the value is false.
no setter
isTrue bool

Available on Reactive<bool>, provided by the ReactiveBool extension

Returns true if the value is true.
no setter

Methods

disable() → void

Available on Reactive<bool>, provided by the ReactiveBool extension

Sets the value to false.
enable() → void

Available on Reactive<bool>, provided by the ReactiveBool extension

Sets the value to true.
toggle() → void

Available on Reactive<bool>, provided by the ReactiveBool extension

Toggles the boolean value between true and false.