function isTypedTuple<Tuple>(guards): (val) => val is TupleReturns true if the specified value is an array with the same length as the provided type guards, and each element
passes the type guard at the same index in guards.
Type parameters
| Type parameter |
|---|
Tuple extends readonly unknown[] |
Parameters
| Parameter | Type |
|---|---|
guards | { [K in string | number | symbol]: Function } |
Returns
Function
Parameters
| Parameter | Type |
|---|---|
val | unknown |
Returns
val is Tuple