Function: isDomParserParseFromStringCall()
isDomParserParseFromStringCall(
node:Readonly<TSESTree.CallExpression>):boolean
Defined in: _internal/domparser.ts:14
Check whether a call is new DOMParser().parseFromString(...).
Parametersâ
nodeâ
Readonly<TSESTree.CallExpression>
Call expression to inspect.
Returnsâ
boolean
Whether the call matches the DOMParser parsing sink.