How to check if value is sent in request?
To check the email value is sent or not in request, you can use $request->has('email')
BY Best Interview Question ON 15 Jul 2019
Example
if($request->has('email')) {
// email value is sent from request
} else {
// email value not sent from request
}