CodeQL library for JavaScript
codeql/javascript-all 0.3.0-dev (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()