nationid - v2.2.1
    Preparing search index...

    Function format

    • Format a Polish (PL) document into its canonical display form.

      Parameters

      • code: "PL_PESEL" | "PL_NIP" | "PL_REGON" | ShortCode

        PL document type or short alias.

      • input: string

        Raw document string.

      Returns string

      Canonical formatted representation.