Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Effect-TS/effect
/ isDuration
Function
isDuration
packages/effect/src/Duration.ts:437–437 ·
view source on GitHub ↗
(u: unknown)
Source
from the content-addressed store, hash-verified
435
* @since 2.0.0
436
*/
437
export
const
isDuration = (u: unknown): u is Duration => hasProperty(u, TypeId)
438
439
/**
440
* Checks whether a Duration is finite (not infinite).
Callers
1
[Equal.symbol]
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected