youtubei.js / Generator / isMiscType
Function: isMiscType()
isMiscType(
key
,value
):false
|MiscInferenceType
Defined in: src/parser/generator.ts:163
Check if the given value is a misc type.
Parameters
key
string
The key of the value
value
unknown
The value to check
Returns
false
| MiscInferenceType
If it is a misc type, return the InferenceType. Otherwise, return false.