joi
joi copied to clipboard
multiple() doesn't seems to work.
I get an error: "has not method multiple" when trying this: var knorr = Joi.number().multiple(10);
I,m using Joi 5.1.0, and have tried to re-install it in case something was wrong.
The method is not there.
Multiple will land in 6.0 I think since the PR is tagged 6.0 milestone See https://github.com/hapijs/joi/pull/538
Thanks. I did not see that.
I hate github so much for making people believe the displayed readme is for the released version...