Overload implementation.

The function arguments.

  • Parses a value into a number.

    Parameters

    • input: unknown

      The input to parse.

    Returns number

    A number corresponding to the input, or NaN if the input can't be parsed.

  • Parses a value into a number.

    Parameters

    Returns number

    A number corresponding to the input, or NaN if the input can't be parsed.

  • Parses a value into a number.

    Parameters

    • options: ParseOptions

      The options to use for parsing.

    • input: unknown

      The input to parse.

    Returns number

    A number corresponding to the input, or NaN if the input can't be parsed.