Determines if a given valid SemVer version has a pre-release suffix.
assert(isPreReleaseVersion("1.0.0-alpha")); assert(isPreReleaseVersion("1.0.0-alpha+b1")); assert(isPreReleaseVersion("0.9.0-beta.1")); assert(!isPreReleaseVersion("0.9.0")); assert(!isPreReleaseVersion("0.9.0+b1"));
See Implementation
Determines if a given valid SemVer version has a pre-release suffix.