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

youtubei.js / Generator / isMiscType

Function: isMiscType()

isMiscType(key, value): false | MiscInferenceType

Defined in: src/parser/generator.ts:163

Check if the given value is a misc type.

Parameters

key

string

The key of the value

value

unknown

The value to check

Returns

false | MiscInferenceType

If it is a misc type, return the InferenceType. Otherwise, return false.

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