MessageFormat.supportedLocalesOf() method

Returns a subset of locales consisting of those for which MessageFormat has built-in plural category support.

Signature:

static supportedLocalesOf(locales: string | string[]): string[];

Parameters

Parameter Type Description
locales string | string[]  

Returns:

string[]