idnumbers
    Preparing search index...

    Variable OldIdentityCardConst

    OldIdentityCard: {
        METADATA: {
            aliasOf: null;
            checksum: boolean;
            countryName: string;
            deprecated: boolean;
            displayFormat: string;
            example: string;
            idType: string;
            iso3166Alpha2: string;
            links: string[];
            masks: string[];
            maxLength: number;
            minLength: number;
            names: string[];
            officialName: string;
            parsable: boolean;
            regexp: RegExp;
        };
        validate: (idNumber: string) => boolean;
    } = ...

    Type Declaration

    • METADATA: {
          aliasOf: null;
          checksum: boolean;
          countryName: string;
          deprecated: boolean;
          displayFormat: string;
          example: string;
          idType: string;
          iso3166Alpha2: string;
          links: string[];
          masks: string[];
          maxLength: number;
          minLength: number;
          names: string[];
          officialName: string;
          parsable: boolean;
          regexp: RegExp;
      }
    • validate: (idNumber: string) => boolean