Package: effect
Module: STM
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>; }
Since v2.0.0