kotlin-stdlib / kotlin / isInfinite isInfinite Common JVM JS Native 1.0 fun Double.isInfinite(): Boolean fun Float.isInfinite(): Boolean Returns true if this value is infinitely large in magnitude.