Circle V2 API Docs
    Preparing search index...

    Function normalizeForComparison

    • Lowercase, collapse runs of whitespace to a single space, and trim — so two strings can be compared without case or spacing noise. Unlike foldTypography, this leaves the actual characters alone; the two compose when both kinds of normalization are wanted.

      Parameters

      • value: string

      Returns string