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.

fun collator(caseSensitive: Boolean, diacriticSensitive: Boolean, locale: Locale): Expression
fun collator(caseSensitive: Boolean, diacriticSensitive: Boolean, locale: String): Expression
fun collator(caseSensitive: Expression, diacriticSensitive: Expression, locale: Expression): Expression

Dsl function for "collator".

fun collator(block: Expression.CollatorBuilder.() -> Unit): Expression