Package: effect
Module: String
Converts the string to lowercase according to the specified locale.
Example (Lowercasing strings by locale)
import { pipe, String } from "effect"
import * as assert from "node:assert"
const str = "\u0130"
assert.deepStrictEqual(pipe(str, String.toLocaleLowerCase("tr")), "i")
Signature
declare const toLocaleLowerCase: (locale?: string | Array<string>) => (self: string) => string
Since v2.0.0