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

Member predicate ConstantValue::isStringlikeValue

Holds if this is:

  • the string value s,
  • the symbol value :s, or
  • the regexp value /s/.
predicate isStringlikeValue(string s)