isInteger
isInteger(x)
Test whether a value is an integer number.
Try it yourself:
$1 | isInteger(2)
| |
$2 | isInteger(3.5)
| |
$3 | isInteger([3, 0.5, -2])
|
Test whether a value is an integer number.
Try it yourself:
$1 | isInteger(2)
| |
$2 | isInteger(3.5)
| |
$3 | isInteger([3, 0.5, -2])
|