idnumbers
    Preparing search index...

    Variable NationalIDConst

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

    Type Declaration

    • checksum: (idNumber: string) => number | null

      Intentionally unimplemented — always returns null. See checksum.

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