MCPcopy Index your code
hub / github.com/Effect-TS/effect / lessThanOrEqualTo

Function lessThanOrEqualTo

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

Source from the content-addressed store, hash-verified

280 * @since 2.0.0
281 */
282export const lessThanOrEqualTo = <A>(O: Order<A>): {
283 (that: A): (self: A) => boolean
284 (self: A, that: A): boolean
285} => dual(2, (self: A, that: A) => O(self, that) !== 1)
286
287/**
288 * Test whether one value is _non-strictly greater than_ another.

Callers 2

Order.test.tsFile · 0.50
String.test.tsFile · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected