Function: isDomParserParseFromStringCall()
function isDomParserParseFromStringCall(
node: Readonly<TSESTree.CallExpression>
): boolean;
Defined in: _internal/domparser.ts:16
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.