W3cubDocs

/Kotlin

hasNotPassedNow

Platform and version requirements: JVM (1.0), JS (1.0), Native (1.0)
fun hasNotPassedNow(): Boolean

Returns false if this time mark has not passed according to the time source from which this mark was taken.

Note that the value returned by this function can change on subsequent invocations. If the time source is monotonic, it can change only from true to false, namely, when the time mark becomes behind the current point of the time source.

© 2010–2020 JetBrains s.r.o. and Kotlin Programming Language contributors
Licensed under the Apache License, Version 2.0.
https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.time/-time-mark/has-not-passed-now.html