every
See also: iff iffElse some not
Return the and of a series of sync or async predicate functions.
ts
import { every } from 'feathers-utils/predicates';Type declaration
ts
/**
* Return the and of a series of sync or async predicate functions.
*
* @see https://utils.feathersjs.com/predicates/every.html
*/
export declare const every: <H extends HookContext = HookContext>(
...predicates: (PredicateFn<H> | undefined)[]
) => PredicateFn<H>| Argument | Type | Description |
|---|---|---|
| predicates | (PredicateFn<H> | undefined)[] |
