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

Function parseUnsafe

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

Source from the content-addressed store, hash-verified

382 * @since 4.0.6
383 */
384export const parseUnsafe = (input: string): SemVer => Result.getOrThrow(parse(input))
385
386/**
387 * Converts a version, version string, or version components into a `SemVer`.

Callers

nothing calls this directly

Calls 1

parseFunction · 0.70

Tested by

no test coverage detected