validate('1.0.0-rc.1') // truevalidate('1.0-rc.1') // falsevalidate('foo') // false
Whether or not version is a valid representation of a semantic version range.
version
A string to test.
Generated using TypeDoc
Example
Returns
Whether or not
version
is a valid representation of a semantic version range.