Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Effect-TS/effect
/ duration
Function
duration
packages/effect/src/Config.ts:1378–1380 ·
view source on GitHub ↗
(name?: string)
Source
from the content-addressed store, hash-verified
1376
* @since 2.5.0
1377
*/
1378
export
function
duration(name?: string) {
1379
return
schema(Schema.DurationFromString, name)
1380
}
1381
1382
/**
1383
* Creates a config
for
a port number (integer in 1–65535).
Callers
nothing calls this directly
Calls
1
schema
Function · 0.70
Tested by
no test coverage detected