below is the response I am getting from my back end call.
{ name: 'abc',
id : '1234',
emp: 'abc@sample.com'
}
In my UI i want to test if the emp === abc@sample.com
exist then perform the certain operation, if not show the error message as emp don't exist. If the response is an Array, it would be easy to search for employee. But I am not sure, how to do it for object response.Can anyone help me with this