CodeQL library for Ruby
codeql/ruby-all 4.1.2-dev (changelog, source)
Search

Member predicate StringSubstitutionCall::isDestructive

Holds if this is a destructive substitution, i.e. this is a call to sub! or gsub!.

predicate isDestructive()