Link Search Menu Expand Document

ParseOptions.cardinal property

Array of valid plural categories for the current locale, used to validate plural keys.

If undefined, the full set of valid PluralCategory keys is used. To disable this check, pass in an empty array.

Signature:

cardinal?: PluralCategory[];