MCPcopy Create free account
hub / github.com/Effect-TS/effect / parse

Function parse

packages/effect/src/SemVer.ts:373–373  ·  view source on GitHub ↗
(input: string)

Source from the content-addressed store, hash-verified

371 * @since 4.0.6
372 */
373export const parse = (input: string): Result.Result<SemVer, SemVerError> => tryParse("SemVer", input, parseOrThrow)
374
375/**
376 * Parses a strict Semantic Versioning 2.0.0 string and throws `SemVerError`

Callers 3

tryParseFunction · 0.70
parseUnsafeFunction · 0.70
fromInputFunction · 0.70

Calls 1

tryParseFunction · 0.85

Tested by

no test coverage detected