Module

JS.Intl.DisplayNames

Package
purescript-js-intl
Repository
pete-murphy/purescript-js-intl

#DisplayNames Source

data DisplayNames

Consistent translation of language, region and script display names

#DisplayNamesOptions'Optional Source

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

#of_ Source

of_ :: DisplayNames -> String -> Maybe String

Receives a code and returns a string based on the locale and options of the DisplayNames