effect-io-ai

Package: effect
Module: List

List.some

Check if a predicate holds true for some List element.

Signature

declare const some: { <A>(predicate: Predicate<NoInfer<A>>): (self: List<A>) => self is Cons<A>; <A>(self: List<A>, predicate: Predicate<A>): self is Cons<A>; }

Source

Since v2.0.0