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

Function isLessThan

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

Source from the content-addressed store, hash-verified

660 * @since 4.0.0
661 */
662export const isLessThan = <A>(O: Order<A>): {
663 (that: A): (self: A) => boolean
664 (self: A, that: A): boolean
665} => dual(2, (self: A, that: A) => O(self, that) === -1)
666
667/**
668 * Checks whether one value is strictly greater than another according to the given order.

Callers 5

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

Calls

no outgoing calls

Tested by

no test coverage detected