Skip to main contentModule digits
Source - DigitsError
- Error in a digit string.
- check_iccid
- Checks that an ICCID has 19 or 20 digits and a valid Luhn check digit.
- check_imei
- Checks that an IMEI has 15 digits and a valid Luhn check digit.
- check_imsi
- Checks that an IMSI has 6 to 15 digits and a plausible MCC.
- check_luhn ๐
- Checks the last digit with the Luhn algorithm.
- luhn_check_digit ๐
- Computes the Luhn check digit for the ASCII digits in
payload. - parse ๐
- Returns the ASCII digits of
value. - value ๐
- Returns the value of an ASCII digit.