Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Effect-TS/effect
/ weeks
Function
weeks
packages/effect/src/Duration.ts:295–295 ·
view source on GitHub ↗
(weeks: number)
Source
from the content-addressed store, hash-verified
293
* @category constructors
294
*/
295
export
const
weeks = (weeks: number): Duration => make(weeks * 604_800_000)
296
297
/**
298
* @since 2.0.0
Callers
1
decode
Function · 0.85
Calls
1
make
Function · 0.70
Tested by
no test coverage detected