number()
Get a schema object of type number.
None
const schema = racoon.number(); schema.validate('abc'); // fail schema.validate(123); // pass
Last updated 3 years ago