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

Predicate StringOps::substringMethodName

Gets the name of a string method which performs substring extraction.

These are substring, substr, and slice.

Import path

import javascript
string substringMethodName()