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

Function isPositive

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

Source from the content-addressed store, hash-verified

1295
1296 it("every", () => {
1297 const isPositive: Predicate.Predicate<number> = (n) => n > 0
1298 deepStrictEqual(Arr.every([1, 2, 3], isPositive), true)
1299 deepStrictEqual(Arr.every([1, 2, -3], isPositive), false)
1300 })

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected