Laravel, si -> get () array n'est pas emtpy
$threadID = Thread::where( "pillamail", $to )->get();
//sellega kontrollid, kas ->get tagastas midagi laravelis
if ( $threadID->count() > 0 ) {
}
}
Cooperative Cassowary