I have a form field which can either accept a mobile number or an email. How can i validate either of these fields based on values entered into the field using yup.
yup