Function isNaN

  • It will determine whether the provided value is NaN or not.

    Parameters

    • value: unknown

    Returns boolean

    Since

    1.0.0

    Example

    isNaN(NaN);
    // => true

    Example

    isNaN(2);
    // => false

    Example

    isNaN(undefined);
    // => false