Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/Effect-TS/effect
/ toString
Function
toString
packages/effect/src/Duration.ts:163–165 ·
view source on GitHub ↗
(this: Duration)
Source
from the content-addressed store, hash-verified
161
return
isDuration(that) && equals(this, that)
162
},
163
toString(this: Duration) {
164
return
`Duration(${format(this)})`
165
},
166
toJSON(this: Duration) {
167
switch (this.value._tag) {
168
case
"Millis"
:
Callers
nothing calls this directly
Calls
1
format
Function · 0.70
Tested by
no test coverage detected