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

Member predicate StringReplaceCall::replaces

Holds if this call to replace replaces old with new.

predicate replaces(string old, string new)