isInteger(num)

Checks whether a var is an integer, returns true if this is the case.

Type: function

Parameter(s):

  • num {Object | String | Number | Boolean}:

    The number to check.

Returns:

  • {Boolean}:

    Returns true if the given argument is an integer.