compareVersions

Compares the precedence of two SemVer version strings.

The version strings must be validated using isValidVersion() before being passed to this function.

int
compareVersions
(
string a
,
string b
)

Meta