Options
All
  • Public
  • Public/Protected
  • All
Menu

Index

Functions

Const gt

Const isNumber

  • isNumber<A>(n: A): Either<Failure<A>, number>
  • isNumber tests if a value is a number.

    Type parameters

    • A

    Parameters

    • n: A

    Returns Either<Failure<A>, number>

Const lt

Const range

  • range(min: number, max: number): Precondition<number, number>
  • range tests whether a number falls within a specified range.

    Parameters

    • min: number
    • max: number

    Returns Precondition<number, number>

Const toNumber

  • toNumber<A>(value: A): Either<Failure<A>, number>
  • toNumber casts a string to a number.

    Type parameters

    • A

    Parameters

    • value: A

    Returns Either<Failure<A>, number>

Legend

  • Variable
  • Function
  • Function with type parameter
  • Type alias
  • Type alias with type parameter
  • Interface
  • Interface with type parameter
  • Class with type parameter

Generated using TypeDoc