validateMod10

Validates the input number using the Modulus 10 algorithm.

Return

true if the number is valid according to the Modulus 10 algorithm, false otherwise.

Parameters

number

The number to be validated.