Module
Web.Intl.ListFormat
- Package
- purescript-web-intl
- Repository
- ptrfrncsmrph/purescript-web-intl
#ListFormat Source
data ListFormat#ListFormatOptions Source
type ListFormatOptions :: Row Typetype ListFormatOptions = (localeMatcher :: String, style :: String, type :: String)
#new Source
new :: forall options options'. Union options options' ListFormatOptions => NonEmptyArray Locale -> Record options -> Effect ListFormat#new_ Source
new_ :: NonEmptyArray Locale -> Effect ListFormat#supportedLocalesOf Source
supportedLocalesOf :: forall options options'. Union options options' ListFormatOptions => NonEmptyArray Locale -> Record options -> Array String#formatToParts Source
formatToParts :: ListFormat -> Array String -> Array { type :: String, value :: String }