Applies to: Databricks SQL Databricks Runtime 13.0 and above
numStr passes the Luhn algorithm check.
The Luhn algorithm is used for example, to validate creditcard numbers.
numStr contains any character that is not a digit the result is
If the input’s last digit matches the algorithm the result is