• Converts a term to a number. Returns undefined if the term was undefined.

    Parameters

    • Optionalterm: Term

      Term to parse.

    • radix: number = 10

      Radix to use when parsing. Default is 10.

    Returns number | undefined