Module

Web.Intl.DisplayNames

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

#DisplayNames Source

#DisplayNamesOptions'Required Source

type DisplayNamesOptions'Required :: Row Type -> Row Typetype DisplayNamesOptions'Required options = (type :: String | options)

#DisplayNamesOptions'Optional Source

type DisplayNamesOptions'Optional :: Row Typetype DisplayNamesOptions'Optional = (fallback :: String, languageDisplay :: String, localeMatcher :: String, style :: String)

#new Source

new :: forall options options'. Union options options' DisplayNamesOptions'Optional => NonEmptyArray Locale -> Record (DisplayNamesOptions'Required options) -> Effect DisplayNames

#supportedLocalesOf Source

supportedLocalesOf :: forall options options'. Union options options' DisplayNamesOptions'Optional => NonEmptyArray Locale -> { type :: String | options } -> Array String