Skip to content

Latest commit

 

History

History
2 lines (2 loc) · 276 Bytes

README.md

File metadata and controls

2 lines (2 loc) · 276 Bytes

Saudi ID

This class can be used to validate Saudi resident identifier numbers. It takes a resident identifier number and calculates a checksum to verify whether it may be a valid number. It returns either 1 (for Saudis), 2 (for non-Saudis) or FALSE (for invalid numbers).