CodeQL library for JavaScript
Search

Predicate pluralize

Gets the pluralization for n occurrences of noun.

For example, the pluralization of "function" for n = 2 is "functions".

Import path

import javascript
string pluralize(string noun, int n)