rcompare

external fun rcompare(v1: String, v2: String): Int(source)
external fun rcompare(v1: String, v2: String, optionsOrLoose: Boolean = definedExternally): Int(source)
external fun rcompare(v1: String, v2: String, optionsOrLoose: Options = definedExternally): Int(source)
external fun rcompare(v1: String, v2: SemVer): Int(source)
external fun rcompare(v1: String, v2: SemVer, optionsOrLoose: Boolean = definedExternally): Int(source)
external fun rcompare(v1: String, v2: SemVer, optionsOrLoose: Options = definedExternally): Int(source)
external fun rcompare(v1: SemVer, v2: String): Int(source)
external fun rcompare(v1: SemVer, v2: String, optionsOrLoose: Boolean = definedExternally): Int(source)
external fun rcompare(v1: SemVer, v2: String, optionsOrLoose: Options = definedExternally): Int(source)
external fun rcompare(v1: SemVer, v2: SemVer): Int(source)
external fun rcompare(v1: SemVer, v2: SemVer, optionsOrLoose: Boolean = definedExternally): Int(source)
external fun rcompare(v1: SemVer, v2: SemVer, optionsOrLoose: Options = definedExternally): Int(source)

The reverse of compare.

Sorts in descending order when passed to Array.sort().