Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
323
const
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
fromInputUnsafe
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected