How to validate a number is even?
Open
- Dominant language
- JavaScript
- Stars
- 21.2k
- Forks
- 1.5k
- Avg merge
- 4h 57m
- Merged PRs (30d)
- 14
Description
#### Support plan
* *is this issue currently blocking your project?* (yes/no):
No
* *is this issue affecting a production system?* (yes/no):
No
#### Context
* *node version*: 12
* *module version*: 6
* *environment* (e.g. node, browser, native): Node
* *used with* (e.g. hapi application, another framework, standalone, ...): Standalone
* *any other relevant information*:
#### How can we help?
I have a use case that requires numeric values to be even. Values are entered via an API request, so I can not use the UI to enforce the numbers. Is there any feature within Joi that would allow me to validate a number is even?
Contributor guide
Assessment
This issue has not been assessed yet.