Module

JS.Intl.Collator

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

#Collator Source

data Collator

Language-sensitive string comparison

#CollatorOptions Source

type CollatorOptions :: Row Typetype CollatorOptions = (caseFirst :: String, collation :: String, ignorePunctuation :: Boolean, localeMatcher :: String, numeric :: Boolean, sensitivity :: String, usage :: String)

#compare Source

compare :: Collator -> String -> String -> Ordering

Compare two strings according to the sort order of the Collator

#convertOptionsWithDefaults Source

convertOptionsWithDefaults :: forall provided all. ConvertOptionsWithDefaults ToCollatorOptions (Record CollatorOptions) provided all => provided -> all