parse
Return the parsed version as a SemVer object.
In case version is invalid, the function will
throw if
throwErrorsistrue.return
nullotherwise.
external fun parse(version: String?, optionsOrLoose: Boolean, throwErrors: Boolean = definedExternally): SemVer?(source)
external fun parse(version: String?, optionsOrLoose: Options, throwErrors: Boolean = definedExternally): SemVer?(source)