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

Function Equivalence

packages/effect/src/Duration.ts:538–542  ·  view source on GitHub ↗
(self, that)

Source from the content-addressed store, hash-verified

536 * @since 2.0.0
537 */
538export const Equivalence: equivalence.Equivalence<Duration> = (self, that) =>
539 matchWith(self, that, {
540 onMillis: (self, that) => self === that,
541 onNanos: (self, that) => self === that
542 })
543
544const _min = order.min(Order)
545

Callers 3

Cron.tsFile · 0.70
BigDecimal.tsFile · 0.70
Duration.tsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected