PluralRulesResolvedOptions

package js.lib.intl

import js.lib.intl.PluralRules

Available on js

Fields

finalread onlytype:PluralRulesType

The type used (cardinal or ordinal).

finalread onlypluralCategories:Array<String>

An Array of plural rules used by the given language.

finalread onlyminimumSignificantDigits:Int

finalread onlyminimumIntegerDigits:Int

finalread onlyminimumFractionDigits:Int

finalread onlymaximumSignificantDigits:Int

The values provided for these properties in the options argument or filled in as defaults. These properties are present only if at least one of them was provided in the options argument.

finalread onlymaximumFractionDigits:Int

The values provided for these properties in the options argument or filled in as defaults. These properties are present only if neither minimumSignificantDigits nor maximumSignificantDigits was provided in the options argument.

finalread onlylocale:String

The BCP 47 language tag for the locale actually used. If any Unicode extension values were requested in the input BCP 47 language tag that led to this locale, the key-value pairs that were requested and are supported for this locale are included in locale.

© 2005–2020 Haxe Foundation
Licensed under a MIT license.
https://api.haxe.org/js/lib/intl/PluralRulesResolvedOptions.html