I'm looking for a clean and efficient way to validate an Israeli ID number.
It's basically an implementation of the Luhn algorithm on a 9 digits number.
Note: This question is here for the community because it wasn't on stack overflow yet. You can add answers in different coding languages.