Package: effect
Module: String
Converts the string to uppercase according to the specified locale.
Example (Uppercasing strings by locale)
import { pipe, String } from "effect"
import * as assert from "node:assert"
const str = "i\u0307"
assert.deepStrictEqual(pipe(str, String.toLocaleUpperCase("lt-LT")), "I")
Signature
declare const toLocaleUpperCase: (locale?: string | Array<string>) => (self: string) => string
Since v2.0.0