(self, that)
| 1216 | * @since 2.0.0 |
| 1217 | */ |
| 1218 | export const Equivalence: Equ.Equivalence<Duration> = (self, that) => |
| 1219 | matchPair(self, that, { |
| 1220 | onMillis: (self, that) => self === that, |
| 1221 | onNanos: (self, that) => self === that, |
| 1222 | onInfinity: (self, that) => self.value._tag === that.value._tag |
| 1223 | }) |
| 1224 | |
| 1225 | /** |
| 1226 | * Returns the smaller of two Durations. |
no outgoing calls
no test coverage detected