isValidLuhnNumber

Checks the input string to see whether or not it is a valid Luhn number.

Return

true if and only if the input value is a valid Luhn number

Parameters

cardNumber

a String that may or may not represent a valid Luhn number