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

Function p

packages/effect/test/Array.test.ts:717–717  ·  view source on GitHub ↗
(n: number)

Source from the content-addressed store, hash-verified

715
716 it("liftPredicate", () => {
717 const p = (n: number): boolean => n > 2
718 const f = Arr.liftPredicate(p)
719 deepStrictEqual(f(1), [])
720 deepStrictEqual(f(3), [3])

Callers 15

Predicate.test.tsFile · 0.70
emptyStringFunction · 0.50
Invariant.test.tsFile · 0.50
Product.test.tsFile · 0.50
Predicate.test.tsFile · 0.50
productAllFunction · 0.50
getSemigroupSomeFunction · 0.50
getSemigroupEveryFunction · 0.50
allFunction · 0.50
everyFunction · 0.50
Predicate.tsFile · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected