Options
All
  • Public
  • Public/Protected
  • All
Menu

Module parsers/number

Index

Variables

Functions

Variables

Const number

number: Parser<NumberLike, bigint> = ...

Functions

Const asNumber

  • Get a number-like value as bigint.

    Parameters

    • value: NumberLike

      The number-like value to parse.

    Returns bigint

    The value parsed as bigint.

Const isSigned

  • isSigned(type: string): boolean
  • Check if a number type is signed.

    Parameters

    • type: string

      The type to check.

    Returns boolean

    Whether the type is signed.

Generated using TypeDoc