Module

Web.Intl.ListFormat

Package
purescript-web-intl
Repository
ptrfrncsmrph/purescript-web-intl

#ListFormat Source

#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

#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 }