idnumbers
    Preparing search index...

    Variable countryConst

    country: CountryDefinition<
        "BGD",
        readonly ["BD"],
        OldParseResult | NewParseResult,
    > = ...

    Registry definition: pass it to register() from idnumbers/core. The root idnumbers entry registers it automatically.

    Validates both the new (17-digit) and old (13-digit) national ID formats. The new format comes first, so parse() prefers it (new ?? old).