javascript is number an integer
snippet in javascript

javascript is number an integer

user2591

Number.isInteger(value)

//returns a Boolean