youtubei.js / Helpers / observe
Function: observe()
observe<
T
>(obj
):ObservedArray
<T
>
Creates an observed array that provides additional utility methods for array manipulation and filtering.
Type Parameters
• T extends YTNode
Type extending YTNode
Parameters
• obj: T
[]
Array to be observed