Link Search Menu Expand Document

Table of contents


allPass (function)

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

Signature

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

Added in v0.1.4