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

Function invalid

packages/effect/src/Duration.ts:384–386  ·  view source on GitHub ↗
(input: unknown)

Source from the content-addressed store, hash-verified

382}
383
384const invalid = (input: unknown): never => {
385 throw new Error(`Invalid Input: ${input}`)
386}
387
388/**
389 * Decodes a `Input` value into a `Duration` safely, returning

Callers 1

fromInputUnsafeFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected