Validate string against allowed values / array of strings

后端 未结 0 752
刺人心
刺人心 2021-01-30 21:18

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?

con         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题