W3cubDocs

/Kotlin

isAtLeast

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.

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–2018 JetBrains s.r.o.
Licensed under the Apache License, Version 2.0.
https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-kotlin-version/is-at-least.html