compareBuild

external fun compareBuild(other: String): Int(source)
external fun compareBuild(other: SemVer): Int(source)

Compares the build identifier of two versions.

Return

  • 0 if this == other

  • 1 if this is greater

  • -1 if other is greater.