Member Junction
    Preparing search index...
    • True when a version string carries a prerelease suffix (e.g. 1.2.0-beta.1).

      Total by construction: an unparseable string has no prerelease, so it is not one. semver.compare throws on invalid input, which is why every sort in this module filters through SemverCore first rather than relying on the comparator to be forgiving.

      Parameters

      • version: string

      Returns boolean