idnumbers
    Preparing search index...

    Class NationalID

    Implements

    Index
    METADATA: IdMetadata = ...
    • Calculate checksum using Luhn algorithm.

      Returns null when the input does not match the ID format, as the Python library does (#299).

      Parameters

      • idNumber: string

      Returns CheckDigit