• Returns whether the given value is an integer

    Parameters

    • Optionalvalue: number

      the number value to check

    Returns boolean

    whether the given value is an integer

    isInteger(1);    // true