Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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.ts
File · 0.70
emptyString
Function · 0.50
Invariant.test.ts
File · 0.50
SemiProduct.test.ts
File · 0.50
Product.test.ts
File · 0.50
Predicate.test.ts
File · 0.50
productAll
Function · 0.50
getSemigroupSome
Function · 0.50
getSemigroupEvery
Function · 0.50
all
Function · 0.50
every
Function · 0.50
Predicate.ts
File · 0.50
Calls
no outgoing calls
Tested by
no test coverage detected