Link Search Menu Expand Document

Table of contents


anyPass (function)

Similar to R.anyPass. Returns a curried unary predicate rather than a function whose arity matches that of the highest-arity predicate supplied.

Signature

export function anyPass<T>(predicates: Array<Predicate<T>>): Predicate<T>;
export function anyPass<T>(predicates: Array<Predicate<T>>, val: T): boolean; { ... }

Added in v0.1.5