(self: Input)
| 832 | * @since 3.8.0 |
| 833 | */ |
| 834 | export const toMinutes = (self: Input): number => |
| 835 | match(fromInputUnsafe(self), { |
| 836 | onMillis: (millis) => millis / 60_000, |
| 837 | onNanos: (nanos) => Number(nanos) / 60_000_000_000, |
| 838 | onInfinity: () => Infinity, |
| 839 | onNegativeInfinity: () => -Infinity |
| 840 | }) |
| 841 | |
| 842 | /** |
| 843 | * Converts a Duration to hours. |
nothing calls this directly
no test coverage detected