collator constant
String
const collator
Returns a collator
for use in locale-dependent comparison
operations. The case-sensitive
and diacritic-sensitive
options
default to false
. The locale
argument specifies the IETF language
tag of the locale to use. If none is provided, the default locale is
used. If the requested locale is not available, the collator
will
use a system-defined fallback locale. Use resolved-locale
to test
the results of locale fallback behavior.
Sdk Support: basic functionality with js, android, ios, macos
Implementation
static const collator = "collator";