← Docs
kotlin-stdlib / kotlin / KotlinVersion / isAtLeast

isAtLeast

Common
JVM
JS
Native
1.0
fun isAtLeast ( major : Int , minor : Int ) : Boolean
(source)

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

Common
JVM
JS
Native
1.0
fun isAtLeast ( major : Int , minor : Int , patch : Int ) : Boolean
(source)

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

Stay in touch:
  • Contributing to Kotlin
  • Releases
  • Press Kit
  • Security
  • Blog
  • Issue Tracker
  • Brand assets
  • Careers
Supported and developed by JetBrains .
Kotlin™ is protected under the Kotlin Foundation
and licensed under the Apache 2 license .