Skip to content

every

Source Code | Documentation

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>
ArgumentTypeDescription
predicates(PredicateFn<H> | undefined)[]

Released under the MIT License.