isEquivalentTo

fun isEquivalentTo(version: String): Boolean

Return

true if the current version equals the provided version (build excluded)

See also

.isEquivalentTo

Parameters

version

the version to compare

fun isEquivalentTo(version: Semver): Boolean

Checks if the version equals another version, without taking the build into account.

Return

true if the current version equals the provided version (build excluded)

Parameters

version

the version to compare