Type alias NegateIterableTypeGuardFn<Excluded>
NegateIterableTypeGuardFn<Excluded>: (<Value>(value: Value, i: number, values: readonly Value[]) => value is Exclude<Value, Excluded>)
Type declaration
-
- <Value>(value: Value, i: number, values: readonly Value[]): value is Exclude<Value, Excluded>
-
Parameters
-
value: Value
-
i: number
-
values: readonly Value[]
Returns value is Exclude<Value, Excluded>
Given a parameter and a predicate, return a new generic Type Guard that implements those