Skip to content

not

Source Code | Documentation

See also: iff iffElse every some

Negate a predicate function.

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

Type declaration

ts
/**
 * Negate a predicate function.
 *
 * @see https://utils.feathersjs.com/predicates/not.html
 */
export declare const not: <H extends HookContext = HookContext>(
  predicate: PredicateFn<H>,
) => PredicateFn<H>
ArgumentTypeDescription
predicatePredicateFn<H>

Released under the MIT License.