Function parse

  • Parses a semver version, including compile-time results

    Type Parameters

    • const T extends Full

    Parameters

    • full: T

      the full version to parse

    Returns Parse<T, false>

  • Type Parameters

    • const T extends Full
    • const S extends boolean

    Parameters

    • full: T
    • stripCore: S

    Returns Parse<T, S>