Module / v2.0.0-beta.13

@typed/fx/RefBoolean

15 unique exports available through this public import path, including their members and aliases.

import * as RefBoolean from "@typed/fx/RefBoolean";

Constructors

  • make

    function

    Creates a new RefBoolean from a boolean, Effect, or Fx.

Derived queries

  • and

    variable

    Apply AND operation with a boolean to the current state of a RefBoolean.

  • eqv

    variable

    Apply EQV (XNOR) operation with a boolean to the current state of a RefBoolean.

  • implies

    variable

    Apply implication operation with a boolean to the current state of a RefBoolean.

  • nand

    variable

    Apply NAND operation with a boolean to the current state of a RefBoolean.

  • nor

    variable

    Apply NOR operation with a boolean to the current state of a RefBoolean.

  • not

    variable

    Apply NOT operation to the current state of a RefBoolean.

  • or

    variable

    Apply OR operation with a boolean to the current state of a RefBoolean.

  • xor

    variable

    Apply XOR operation with a boolean to the current state of a RefBoolean.

State models

  • RefBoolean

    interface

    A RefBoolean is a RefSubject specialized over a boolean value.

State predicates

  • isFalse

    variable

    Check if the current state of a RefBoolean is false.

  • isTrue

    variable

    Check if the current state of a RefBoolean is true.

State updates

  • setFalse

    variable

    Set the current state of a RefBoolean to false.

  • setTrue

    variable

    Set the current state of a RefBoolean to true.

  • toggle

    variable

    Toggle the current state of a RefBoolean.