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

Function containsWith

repos/effect/packages/effect/src/Option.ts:2230–2233  ·  view source on GitHub ↗
(isEquivalent: (self: A, that: A) => boolean)

Source from the content-addressed store, hash-verified

2228 * Option.bind("y", () => Option.some(3)),
2229 * Option.let("sum", ({ x, y }) => x + y)
2230 * ) // => Option.some({ x: 2, y: 3, sum: 5 })
2231 * ```
2232 *
2233 * @see {@link Do} for starting the chain
2234 * @see {@link bind} to add `Option` values
2235 * @see {@link bindTo} to start by naming an existing `Option`
2236 *

Callers 1

Option.tsFile · 0.70

Calls 1

isNoneFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…