youtubei.js / Helpers / SuperParsedResult
Class: SuperParsedResult<T>
Represents a parsed response in an unknown state. Either a YTNode or a YTNode[] or null.
Type Parameters
Constructors
new SuperParsedResult()
new SuperParsedResult<
T
>(result
):SuperParsedResult
<T
>
Parameters
• result: null
| T
| ObservedArray
<T
>
Returns
Defined in
Accessors
is_array
get
is_array():boolean
Returns
boolean
Defined in
is_node
get
is_node():boolean
Returns
boolean
Defined in
is_null
get
is_null():boolean
Returns
boolean
Defined in
Methods
array()
array():
ObservedArray
<T
>
Returns
Defined in
item()
item():
T
Returns
T