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