View source
enum abstract Sensitivity(String)
package js.lib.intl
import js.lib.intl.Collator
Available on js
Variables
inlineread onlyAccent:Sensitivity = "accent"
Only strings that differ in base letters or accents and other diacritic marks compare as unequal. Examples: a ≠ b, a ≠ á, a = A.
inlineread onlyBase:Sensitivity = "base"
Only strings that differ in base letters compare as unequal. Examples: a ≠ b, a = á, a = A.
inlineread onlyCase:Sensitivity = "case"
Only strings that differ in base letters or case compare as unequal. Examples: a ≠ b, a = á, a ≠ A.
inlineread onlyVariant:Sensitivity = "variant"
Strings that differ in base letters, accents and other diacritic marks, or case compare as unequal. Other differences may also be taken into consideration. Examples: a ≠ b, a ≠ á, a ≠ A.