diff options
author | Justin Worthe <justin.worthe@gmail.com> | 2015-12-16 11:50:10 +0200 |
---|---|---|
committer | Justin Worthe <justin.worthe@gmail.com> | 2015-12-16 11:50:10 +0200 |
commit | 2f75c9444c608f6a157f8141ec10201a3d96e362 (patch) | |
tree | f458a4d06deece32c9d26df9be2b62c3e718a3e4 /index.js | |
parent | 3651725bb4d159f37ab891497094809471da4a06 (diff) |
Added basic documentation
Diffstat (limited to 'index.js')
-rw-r--r-- | index.js | 6 |
1 files changed, 1 insertions, 5 deletions
@@ -8,14 +8,10 @@ module.exports = { }; function parse(idNumber) { - if (typeof(idNumber) !== 'string') { - return undefined; - } - var isValid = validate(idNumber); if (!isValid) { return { - valid: false + isValid: false }; } |