Skip to main content

check_luhn

Function check_luhn 

Source
fn check_luhn(digits: &[u8]) -> Result<(), DigitsError>
Expand description

Checks the last digit with the Luhn algorithm.