isInt

fun isInt(value: Any?): Boolean

value is Int that stays true to its name on Kotlin/JS (D-32), where every number passes the is Int check. The extra test is free on the JVM, where an Int is always a whole number.