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

Function isLessThan

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

Source from the content-addressed store, hash-verified

685 * @since 4.0.0
686 */
687export const isLessThan = <A>(O: Order<A>): {
688 (that: A): (self: A) => boolean
689 (self: A, that: A): boolean
690} => dual(2, (self: A, that: A) => O(self, that) === -1)
691
692/**
693 * Checks whether one value is strictly greater than another according to the given order.

Callers 4

Schema.test.tsFile · 0.85
isBetweenFunction · 0.85
BigDecimal.tsFile · 0.85
dateTime.tsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected