not
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>| Argument | Type | Description |
|---|---|---|
| predicate | PredicateFn<H> |
