Skip to content

Commit

Permalink
📝 Link to validators in the code
Browse files Browse the repository at this point in the history
  • Loading branch information
GHEMID Mohamed committed Dec 13, 2021
1 parent e8dac0c commit a77c77f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,3 +48,5 @@ model => model.age < 18
? model.authorisedByParents ? null : 'not'
: null;
```

🌱 You can find the rest of validators like `testDateAfter`, `testGreaterThan`, `testLength`, `testEmailFormat` etc. in the code [here](https://github.com/Kilix/functional-validation/tree/master/src/fieldValidators.js).

0 comments on commit a77c77f

Please sign in to comment.