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

Function invalid

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

Source from the content-addressed store, hash-verified

321}
322
323const invalid = (input: unknown): never => {
324 throw new Error(`Invalid Input: ${input}`)
325}
326
327/**
328 * Decodes a `Input` value into a `Duration` safely, returning

Callers 1

fromInputUnsafeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected