~/forever/addon-api/function/SelectPlural
SelectPlural
documented function · LuaLocaleContextAPI
SelectPlural(number, pluralType) : resultReturns the keyword of the first plural rule that applies to a number.
──ARGUMENTS
- number
- number (The number for which the plural rule has to be determined.)
- pluralType
- PluralType (The plural rule type, cardinal or ordinal.)
──RETURNS
- result
- string (The plural keyword for the rule that applies to the number.)
──DETAILS
- May Return Nothing
- true
- Secret Arguments
- AllowedWhenTainted
──VERSION HISTORY
Present since at least 1.60.1.70707, the first build we track.