Files
YouTube.js/docs/api/youtubei.js/namespaces/Parser/functions/parseCommand.md
2026-05-07 14:38:16 -03:00

657 B

youtubei.js / Parser / parseCommand

Function: parseCommand()

parseCommand(data): YTNode | undefined

Defined in: src/parser/parser.ts:664

Parses an InnerTube command and returns a YTNode instance if applicable.

Parameters

data

RawNode

The raw node data to parse

Returns

YTNode | undefined

A YTNode instance if parsing is successful, undefined otherwise