CodeQL library for JavaScript/TypeScript
codeql/javascript-all 0.8.13 (changelog, source)
Search

Member predicate StringOps::RegExpTest::getRegExpOperand

Gets the data flow node corresponding to the regular expression object used in the test.

In some cases this represents a string value being coerced to a RegExp object.

Node getRegExpOperand()