YouTube.js
Guide
Discord
GitHub
Guide
Discord
GitHub

youtubei.js / Generator / isArrayType

Function: isArrayType()

isArrayType(value): false | ArrayInferenceType

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.

Defined in

src/parser/generator.ts:222

Edit this page
Last Updated:: 3/25/25, 8:08 PM
Contributors: EdamAme-x