CodeQL library for JavaScript/TypeScript
codeql/javascript-all 0.8.9 (changelog, source)
Search

Primitive predicate string::prefix

Returns the substring of the receiver ending at the given 0-based exclusive offset

string prefix(int endPos)