MCPcopy Create free account
hub / github.com/effect-app/libs / isLessThan

Function isLessThan

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

Source from the content-addressed store, hash-verified

660 * @see {@link isGreaterThan} for strict greater than
661 * @category predicates
662 * @since 4.0.0
663 */
664export const isLessThan = <A>(O: Order<A>): {
665 (that: A): (self: A) => boolean
666 (self: A, that: A): boolean
667} => dual(2, (self: A, that: A) => O(self, that) === -1)
668

Callers 4

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

Calls 1

OInterface · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…