how to check set or check value is null or not in laravel code example Example: check if value is not null in db laravel Model::whereNotNull('sent_at')