isAtLeast

Platform and version requirements: JVM (1.0), JS (1.0), Native (1.0)
fun isAtLeast(major: Int, minor: Int): Boolean

Returns true if this version is not less than the version specified with the provided major and minor components.

Platform and version requirements: JVM (1.0), JS (1.0), Native (1.0)
fun isAtLeast(major: Int, minor: Int, patch: Int): Boolean

Returns true if this version is not less than the version specified with the provided major, minor and patch components.

© 2010–2021 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/-kotlin-version/is-at-least.html