- negatePred<T, T1>(f): ((val) => val is Exclude<T, T1>)
-
Parameters
-
f: ((val) => val is T1)
-
- (val): val is T1
-
Returns val is T1
Returns ((val) => val is Exclude<T, T1>)
-
- (val): val is Exclude<T, T1>
-
Returns val is Exclude<T, T1>
- negatePred<TArgs>(f): ((...args) => boolean)
-
Parameters
-
f: ((...args) => boolean)
-
- (...args): boolean
-
Returns boolean
Returns ((...args) => boolean)
-
- (...args): boolean
-
Returns boolean
Adapt a predicate into an identical predicate that negates its result.