Skip to main content
Module

x/youtubei/deno.ts>Generator.isArrayType

A wrapper around YouTube's internal API — reverse engineering InnerTube
Very Popular
Go to Latest
function Generator.isArrayType
import { Generator } from "https://deno.land/x/youtubei@v9.3.0-deno/deno.ts";
const { isArrayType } = Generator;

Checks if the given value is an array

Parameters

value: unknown
  • The value to check

Returns

If it is an array, return the InferenceType. Otherwise, return false.