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

Predicate capitalize

Gets the capitalization of s.

For example, the capitalization of "function" is "Function".

Import path

import javascript
string capitalize(string s)