Try the revamped Kotlin docs design →
Try the revamped Kotlin docs design!
<init>
KotlinVersion(major: Int, minor: Int)
Creates a version from major and minor components, leaving patch component zero.
KotlinVersion(major: Int, minor: Int, patch: Int)
Creates a version from all three components.
Constructor Creates a version from all three components.