isInteger
isInteger(x)
Try it yourself:
| @1 |
isInteger(2)
|
|
| @2 |
isInteger(3.5)
|
|
| @3 |
isInteger([3, 0.5, -2])
|