YouTube.js
Guide
Discord
GitHub
Guide
Discord
GitHub

youtubei.js / Helpers / observe

Function: observe()

observe<T>(obj): ObservedArray<T>

Creates a trap to intercept property access and add utilities to an object.

Type Parameters

• T extends YTNode

Parameters

• obj: T[]

Returns

ObservedArray<T>

Defined in

src/parser/helpers.ts:394

Edit this page
Last Updated:
Contributors: Luan