I am trying to support decimal values for a field but I would like to prevent an inclusive range of numbers.
Expected Validity:
x<=1 || x>=1
So basically, I want to invalidate range [-1,1]. Currently, I have this snippet but needs some help.
Joi.number().required()