MCPcopy
hub / github.com/Effect-TS/effect / greaterThan

Function greaterThan

packages/effect/src/Order.ts:272–275  ·  view source on GitHub ↗
(O: Order<A>)

Source from the content-addressed store, hash-verified

270 * @since 2.0.0
271 */
272export const greaterThan = <A>(O: Order<A>): {
273 (that: A): (self: A) => boolean
274 (self: A, that: A): boolean
275} => dual(2, (self: A, that: A) => O(self, that) === 1)
276
277/**
278 * Test whether one value is _non-strictly less than_ another.

Callers 3

Order.tsFile · 0.70
BigDecimal.tsFile · 0.70
Order.test.tsFile · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected