Skip to content

normalizeText

function normalizeText(text): string;

Defined in: text.ts:34

Normalizes general text: trims, collapses whitespace, and applies Unicode NFC.

Parameter Type Description
text string Input text

string

Normalized text