Type alias AnyIterableTypeGuard<Input, Output>
AnyIterableTypeGuard<Input, Output>: ((value: Input, index: number, values: readonly Input[]) => value is Input & Output)
Type declaration
-
- (value: Input, index: number, values: readonly Input[]): value is Input & Output
-
Parameters
-
value: Input
-
index: number
-
values: readonly Input[]
Returns value is Input & Output
A type on which Type Guard may extend. Should be used when it can be a multi parameter guard.
Example