normalizeText
function normalizeText(text): string;Defined in: text.ts:34
Normalizes general text: trims, collapses whitespace, and applies Unicode NFC.
Parameters
Section titled “Parameters”| Parameter | Type | Description |
|---|---|---|
text |
string |
Input text |
Returns
Section titled “Returns”string
Normalized text