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

Function not

packages/effect/src/Predicate.ts:1554–1556  ·  view source on GitHub ↗
(self: Predicate<A>)

Source from the content-addressed store, hash-verified

1552 * @since 2.0.0
1553 */
1554export function not<A>(self: Predicate<A>): Predicate<A> {
1555 return (a) => !self(a)
1556}
1557
1558/**
1559 * Creates a predicate that returns `true` if either predicate is `true`.

Callers

nothing calls this directly

Calls 1

selfFunction · 0.85

Tested by

no test coverage detected