MCPcopy Index your code
hub / github.com/Effect-TS/effect / toDays

Function toDays

packages/effect/src/Duration.ts:338–342  ·  view source on GitHub ↗
(self: DurationInput)

Source from the content-addressed store, hash-verified

336 * @category getters
337 */
338export const toDays = (self: DurationInput): number =>
339 match(self, {
340 onMillis: (millis) => millis / 86_400_000,
341 onNanos: (nanos) => Number(nanos) / 86_400_000_000_000
342 })
343
344/**
345 * @since 3.8.0

Callers

nothing calls this directly

Calls 2

NumberInterface · 0.85
matchFunction · 0.70

Tested by

no test coverage detected