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

Function applyFilters

packages/effect/src/Arbitrary.ts:742–744  ·  view source on GitHub ↗
(filters: ReadonlyArray<Predicate.Predicate<any>>, arb: LazyArbitrary<any>)

Source from the content-addressed store, hash-verified

740)
741
742function applyFilters(filters: ReadonlyArray<Predicate.Predicate<any>>, arb: LazyArbitrary<any>): LazyArbitrary<any> {
743 return (fc) => filters.reduce((arb, filter) => arb.filter(filter), arb(fc))
744}
745
746function absurd(message: string): LazyArbitrary<any> {
747 return () => {

Callers 1

Arbitrary.tsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected