Function isNumber

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

    Parameters

    • value: unknown

    Returns value is number

    Since

    1.0.0

    Example

    isNumber("foo");
    // => false

    Example

    isNumber(2);
    // => true