Documentation

getPlural()

Chooses a plural form based on a specific quantity.

getPlural(n: number, forms: string[]): string;

Summary

This method is called by DeferredString (the result of fmt()), for each plural form placeholder in a format string.

Parameters

Related