Function isNaN

  • Returns a Boolean value that indicates whether a value is the reserved value NaN (not a number).

    Parameters

    • number: number

      A numeric value.

    Returns boolean