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

Function predicate

repos/effect/packages/effect/test/Option.test.ts:391–391  ·  view source on GitHub ↗
(a: number)

Source from the content-addressed store, hash-verified

389
390 it("exists", () => {
391 const predicate = (a: number) => a === 2
392 assertFalse(pipe(Option.none(), Option.exists(predicate)))
393 assertFalse(pipe(Option.some(1), Option.exists(predicate)))
394 assertTrue(pipe(Option.some(2), Option.exists(predicate)))

Callers 15

someFunction · 0.85
filter_Function · 0.85
partition_Function · 0.85
applyDeleteFunction · 0.85
Predicate.test.tsFile · 0.85
Schedule.tsFile · 0.85
everyFunction · 0.85
someFunction · 0.85
reduceWhileFunction · 0.85
reduceWhileEffectFunction · 0.85
reduceWhileArrayEffectFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…