Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

How can a Joi validation be created to ensure that an array of numbers is between 1-2 length and that the first element is smaller than the second?