Skip to content

some

Source Code | Documentation

See also: iff iffElse every not

Return the or of a series of sync or async predicate functions.

ts
  import { 
some
} from 'feathers-utils/predicates';

Type declaration

ts
/**
 * Return the or of a series of sync or async predicate functions.
 *
 * @see https://utils.feathersjs.com/predicates/some.html
 */
export declare const some: <H extends HookContext = HookContext>(
  ...predicates: (PredicateFn<H> | undefined)[]
) => PredicateFn<H>
ArgumentTypeDescription
predicates(PredicateFn<H> | undefined)[]

Released under the MIT License.