Function termToInt

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

    Parameters

    • Optional term: Term

      Term to parse.

    • radix: number = 10

      Radix to use when parsing. Default is 10.

    Returns number | undefined