Type alias AnyTypeGuard<Input, Output>
AnyTypeGuard<Input, Output>: ((value: Input, ...args: readonly any[]) => value is Output)
Type Parameters
-
Input = any
-
Output extends Input = Input
Type declaration
-
- (value: Input, ...args: readonly any[]): value is Output
-
Parameters
-
value: Input
-
Rest
...args: readonly any[]
Returns value is Output
A type on which Type Guard may extend. Should be used when it can be a multi parameter guard.
Example