Options
All
  • Public
  • Public/Protected
  • All
Menu

Module parsers/bool

Index

Variables

Functions

Variables

Const bool

bool: Parser<BooleanLike, boolean> = ...

Functions

Const getBooleanValue

  • Get a number for a boolean-like value (e.g., strings).

    Parameters

    Returns bigint

    The parsed boolean value. This is 1n for truthy values, or 0n for falsy values.

Generated using TypeDoc