Skip to content

@serenity-is/corelib / turkishLocaleToUpper

Function: turkishLocaleToUpper()

turkishLocaleToUpper(a): string

Defined in: src/compat/formatting-compat.ts:26

Uppercases a string with Turkish-specific handling (iİ, ıI).

Parameters

a

string

Input string; if falsy, returned as-is.

Returns

string

Uppercased string with Turkish dotted/dotless-I mapping preserved.

Remarks

Compat shim; for new code prefer toLocaleUpperCase('tr').

Deprecated

Retained for legacy Q.turkishLocaleToUpper call sites.

Example

turkishLocaleToUpper("istanbul"); // handles dotted i