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