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

Function toMinutes

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

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 2

NumberInterface · 0.85
matchFunction · 0.70

Tested by

no test coverage detected