youtubei.js / Generator / isArrayType
Function: isArrayType()
isArrayType(
value
):false
|ArrayInferenceType
Defined in: src/parser/generator.ts:222
Checks if the given value is an array
Parameters
value
unknown
The value to check
Returns
false
| ArrayInferenceType
If it is an array, return the InferenceType. Otherwise, return false.