MCPcopy Create free account
hub / github.com/Effect-TS/effect / p

Function p

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

Source from the content-addressed store, hash-verified

725
726 it("liftPredicate", () => {
727 const p = (n: number): boolean => n > 2
728 const f = Arr.liftPredicate(p)
729 deepStrictEqual(f(1), [])
730 deepStrictEqual(f(3), [3])

Callers 4

Predicate.test.tsFile · 0.85
Effect.tsFile · 0.85
everyFunction · 0.85
someFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected