I have a field which only accepts data from below Set:
[‘CRDTCD’,‘STDTID’,‘WRKID’,‘DLIC’,‘MLID’,‘UPAS’,‘RAID’]. Values other than these should not be processed. How can I check if the response is one of these values?
Hello @amitesh1505 , you can use “to.be.oneOf” method, please refer this post for more details
3 Likes
Thank you. It worked for me.
1 Like