Module / v2.0.0-beta.13

@typed/fx/RefBigInt

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

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

Arithmetic queries

  • abs

    variable

    Get the absolute value of the current state of a RefBigInt.

  • add

    variable

    Add a BigInt to the current state of a RefBigInt.

  • divide

    variable

    Divide the current state of a RefBigInt by a BigInt.

  • equals

    variable

    Check if the current state of a RefBigInt equals a BigInt.

  • mod

    variable

    Get the remainder of dividing the current state of a RefBigInt by a BigInt.

  • multiply

    variable

    Multiply the current state of a RefBigInt by a BigInt.

  • negate

    variable

    Negate the current state of a RefBigInt.

  • subtract

    variable

    Subtract a BigInt from the current state of a RefBigInt.

Constructors

  • make

    function

    Creates a new RefBigInt from a BigInt, Effect, or Fx.

State models

  • RefBigInt

    interface

    A RefBigInt is a RefSubject specialized over a BigInt value.

State predicates

  • isGreaterThan

    variable

    Check if the current state of a RefBigInt is greater than a BigInt.

  • isLessThan

    variable

    Check if the current state of a RefBigInt is less than a BigInt.

  • isNegative

    variable

    Check if the current state of a RefBigInt is negative.

  • isPositive

    variable

    Check if the current state of a RefBigInt is positive.

  • isZero

    variable

    Check if the current state of a RefBigInt is zero.