PluralRuleType

Plural rule type based on CLDR.

The CLDR "range" type is not yet supported.

Entries

Link copied to clipboard

Cardinal numbers are natural numbers. (e.g., "5" : the set consists of 5 items)

Link copied to clipboard

Ordinal numbers are words representing position or rank in a sequence (e.g., "3" : the third item in a set)

Properties

Link copied to clipboard

Returns a representation of an immutable list of all enum entries, in the order they're declared.

Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared.