MCPcopy Create free account
hub / github.com/Effect-TS/effect / toString

Function toString

packages/effect/src/Duration.ts:166–168  ·  view source on GitHub ↗
(this: Duration)

Source from the content-addressed store, hash-verified

164 return isDuration(that) && equals(this, that)
165 },
166 toString(this: Duration) {
167 return `Duration(${format(this)})`
168 },
169 toJSON(this: Duration) {
170 switch (this.value._tag) {
171 case "Millis":

Callers

nothing calls this directly

Calls 1

formatFunction · 0.70

Tested by

no test coverage detected