Options
All
  • Public
  • Public/Protected
  • All
Menu

Module boolean

Enumerations

Functions

Functions

convertFrom

  • convertFrom(value: null | undefined | string | number | boolean, strictNullables?: boolean): boolean
  • Convert given value to boolean equivalent.

    Parameters

    • value: null | undefined | string | number | boolean

      Boolean like value.

    • Optional strictNullables: boolean

      Whether to throw when given value is null.

    Returns boolean

    Boolean equivalent.