Module / v2.0.0-beta.7

@typed/fx/RefStruct

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

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

Constructors

  • make

    function

    Creates a new RefStruct from a struct, Effect, or Fx.

Derived queries

  • entries

    variable

    Get the entries of the current state of a RefStruct.

  • get

    variable

    Get a property value from the current state of a RefStruct.

  • keys

    variable

    Get the keys of the current state of a RefStruct.

  • omit

    variable

    Omit properties from the current state of a RefStruct.

  • pick

    variable

    Pick properties from the current state of a RefStruct.

  • size

    variable

    Get the size (number of properties) of the current state of a RefStruct.

  • values

    variable

    Get the values of the current state of a RefStruct.

State models

  • RefStruct

    interface

    A RefStruct is a RefSubject specialized over a struct value.

State predicates

  • has

    variable

    Check if the current state of a RefStruct has a property.

State updates

  • merge

    variable

    Merge another struct into the current state of a RefStruct.

  • set

    variable

    Set a property value in the current state of a RefStruct.

  • update

    variable

    Update a property value in the current state of a RefStruct using a function.