CodeQL library for JavaScript/TypeScript
codeql/javascript-all 2.1.2-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()