In Yup, is there any built-in check to validate a string against an array of allowed values? Or do I have to write my own test function for that?
Yup
con