laravel, jeśli -> get () tablica nie jest emtpy
$threadID = Thread::where( "pillamail", $to )->get();
//sellega kontrollid, kas ->get tagastas midagi laravelis
if ( $threadID->count() > 0 ) {
}
}
Cooperative Cassowary