effect-io-ai

Package: effect
Module: STM

STM.filterNot

Filters the collection using the specified effectual predicate, removing all elements that satisfy the predicate.

Signature

declare const filterNot: { <A, R, E>(predicate: (a: NoInfer<A>) => STM<boolean, E, R>): (iterable: Iterable<A>) => STM<Array<A>, E, R>; <A, R, E>(iterable: Iterable<A>, predicate: (a: A) => STM<boolean, E, R>): STM<Array<A>, E, R>; }

Source

Since v2.0.0