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

Function ifDiff

packages/effect-app/src/Effect.ts:93–95  ·  view source on GitHub ↗
(n: I, orig: I)

Source from the content-addressed store, hash-verified

91}
92
93export function ifDiff<I, R, E, A>(n: I, orig: I) {
94 return (f: (i: I) => Effect.Effect<A, E, R>) => ifDiff_(n, orig, f)
95}
96
97// NOTE: await extension doesnt work via tsplus somehow
98export const await_ = Def.await

Callers

nothing calls this directly

Calls 1

ifDiff_Function · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…