Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

allow empty joi validation

Joi.string().allow(null, '')
 
PREVIOUS NEXT
Tagged: #empty #joi #validation
ADD COMMENT
Topic
Name
4+2 =