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

youtubei.js / Generator / introspect

Function: introspect()

introspect(classdata): object

Introspect an example of a class in order to determine its key info and dependencies

Parameters

• classdata: unknown

The example of the class

Returns

object

The key info and any unimplemented dependencies

key_info

key_info: readonly [string, InferenceType][]

unimplemented_dependencies

unimplemented_dependencies: [string, any][]

Defined in

src/parser/generator.ts:376

Edit this page
Last Updated: 7/22/25, 4:29 PM
Contributors: Luan