Checks if the input is an integer
检查输入是否为整数
The value to check. 要检查的值
True if the value is an integer, false otherwise. 如果值为整数则返回true,否则返回false
isInteger(1) // => trueisInteger(1.1) // => false Copy
isInteger(1) // => trueisInteger(1.1) // => false
Checks if the input is an integer
检查输入是否为整数