Number.isInteger() returns true if the value is an integer of the datatype Number:
Number.isInteger() is not supported in Internet Explorer 11 and earlier.