R/checksums.R
luhn_valid.Rd
Luhn checksum (payment cards)
luhn_valid(x)
A character vector of digit strings. Spaces and hyphens are ignored.
A logical vector.
luhn_valid("4111 1111 1111 1111") #> [1] TRUE