YouTube.js
Guide
Discord
GitHub
Guide
Discord
GitHub

youtubei.js / Generator / isMiscType

Function: isMiscType()

isMiscType(key, value): MiscInferenceType | false

Check if the given value is a misc type.

Parameters

• key: string

The key of the value

• value: unknown

The value to check

Returns

MiscInferenceType | false

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

Defined in

src/parser/generator.ts:163

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