JS Найти целое число

// either use 
isInteger()
// or
//eg x/v isInteger
x%y === 0


/*Source
https://www.w3schools.com/jsref/jsref_isinteger.asp
https://stackoverflow.com/questions/14636536/how-to-check-if-a-variable-is-an-integer-in-javascript
*/
shahul