YouTube.js
Guide
Discord
❤️ Sponsor
GitHub
Guide
Discord
❤️ Sponsor
GitHub

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.

Edit this page
Last Updated: 10/12/25, 3:23 PM