Const
Allowed types that can be passed to allowTypes preprocessor to match the defaultArgumentFormatter setup.
number
Formats argument as a number.
Allowed style:
decimal
integer
percent
currency
Allowed options:
style
currencyDisplay
currencySign
useGrouping
minimumIntegerDigits
minimumFractionDigits
maximumFractionDigits
minimumSignificantDigits
maximumSignificantDigits
numberingSystem
compactDisplay
notation
signDisplay
unit
unitDisplay
date
Formats argument as a date.
short
full
long
medium
calendar
dayPeriod
dateStyle
timeStyle
hourCycle
weekday
era
year
month
day
hour
minute
second
timeZoneName
formatMatcher
hour12
timeZone
time
Formats argument as a time.
conjunction
Formats argument as a list of strings joined by "and".
narrow
disjunction
Formats argument as a list of strings joined by "or".
plural
Selects a cardinal plural category using on an argument value.
Allowed categories:
zero
one
two
few
many
other
selectOrdinal
Selects an ordinal plural category using on an argument value.
select
Selects a category using on an argument value.
Any categories, requires other category.
Allowed types that can be passed to allowTypes preprocessor to match the defaultArgumentFormatter setup.
number
Formats argument as a number.
Allowed style:
decimal
integer
percent
currency
Allowed options:
style
currency
currencyDisplay
currencySign
useGrouping
minimumIntegerDigits
minimumFractionDigits
maximumFractionDigits
minimumSignificantDigits
maximumSignificantDigits
numberingSystem
compactDisplay
notation
signDisplay
unit
unitDisplay
date
Formats argument as a date.
Allowed style:
short
full
long
medium
Allowed options:
calendar
dayPeriod
numberingSystem
dateStyle
timeStyle
hourCycle
weekday
era
year
month
day
hour
minute
second
timeZoneName
formatMatcher
hour12
timeZone
time
Formats argument as a time.
Allowed style:
short
full
long
medium
Allowed options:
calendar
dayPeriod
numberingSystem
dateStyle
timeStyle
hourCycle
weekday
era
year
month
day
hour
minute
second
timeZoneName
formatMatcher
hour12
timeZone
conjunction
Formats argument as a list of strings joined by "and".
Allowed style:
long
narrow
short
disjunction
Formats argument as a list of strings joined by "or".
Allowed style:
long
narrow
short
plural
Selects a cardinal plural category using on an argument value.
Allowed style:
short
full
long
medium
Allowed options:
minimumIntegerDigits
minimumFractionDigits
maximumFractionDigits
minimumSignificantDigits
maximumSignificantDigits
Allowed categories:
zero
one
two
few
many
other
, requiredselectOrdinal
Selects an ordinal plural category using on an argument value.
Allowed style:
short
full
long
medium
Allowed options:
minimumIntegerDigits
minimumFractionDigits
maximumFractionDigits
minimumSignificantDigits
maximumSignificantDigits
Allowed categories:
zero
one
two
few
many
other
, requiredselect
Selects a category using on an argument value.
Any categories, requires
other
category.