nationid - v2.2.1
    Preparing search index...

    Function normalize

    • Normalize a Swedish (SE) document by stripping separators and casing.

      Parameters

      • code: "SE_PERSONNUMMER" | "SE_ORGNR" | "SE_VAT" | ShortCode

        SE document type or short alias.

      • input: string

        Raw document string.

      Returns string

      Storage-friendly normalized representation.