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

Primitive predicate string::endsWith

Holds when the receiver ends with the given literal suffix. Matching is case-sensitive. Every string ends with the empty string.

predicate endsWith(string suffix)