Function isValidNumber

  • Checks if the specified value is a valid number. If the value is NaN, returns false.

    Parameters

    • value: unknown

      Value to check if valid number.

    Returns value is number

    true if the specified value is a valid number.