mirror of
https://github.com/LuanRT/YouTube.js.git
synced 2026-06-16 02:52:12 +00:00
672 B
672 B
youtubei.js / Parser / parseCommand
Function: parseCommand()
parseCommand(
data):YTNode|undefined
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