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

Predicate getCodepointAt

Gets the ith codepoint in s. Unpaired surrogates are skipped.

Import path

import codeql.util.Strings
string getCodepointAt(string s, int i)