kotlin-stdlib / kotlin.time / Duration / isInfinite isInfinite Common JVM JS Native 1.0 fun isInfinite(): Boolean Returns true, if the duration value is infinite.