Module: isInteger

Methods

(inner) isInteger(val) → {boolean}

Returns true if the argument is an Integer.
Parameters:
Name Type Description
val any
Source:
Returns:
Type
boolean
Example
var val = 15;
isInteger(val) // true