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