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

Function toMinutes

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

Source from the content-addressed store, hash-verified

316 * @category getters
317 */
318export const toMinutes = (self: DurationInput): number =>
319 match(self, {
320 onMillis: (millis) => millis / 60_000,
321 onNanos: (nanos) => Number(nanos) / 60_000_000_000
322 })
323
324/**
325 * @since 3.8.0

Callers

nothing calls this directly

Calls 2

NumberInterface · 0.85
matchFunction · 0.70

Tested by

no test coverage detected