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

Function flip

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

Source from the content-addressed store, hash-verified

267 * @since 4.0.0
268 */
269export function flip<A>(O: Order<A>): Order<A> {
270 return make((self, that) => O(that, self))
271}
272
273/**
274 * Combines two `Order` instances to create a new `Order` that first compares using the first `Order`,

Callers 2

SchemaAST.tsFile · 0.70
flipEncodingFunction · 0.70

Calls 2

OInterface · 0.85
makeFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…