CodeQL library for JavaScript
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()