Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR TYPESCRIPT

check if an element exists laravel

if (User::where('email', '=', Input::get('email'))->count() > 0) {
   // user found
}
 
PREVIOUS NEXT
Tagged: #check #element #exists #laravel
ADD COMMENT
Topic
Name
6+9 =