Boolean state for timestamp column

I have a timestamp column that works exactly like deleted_at does for soft deletes. Is this the best way to display such a column as a boolean state, or is there a cleaner way? i.e. I want a verified element (non null) to show a check mark ✅ and a red cross for unverified (null), just like the default boolean() columns.
image.png
Solution
Tables\Columns\IconColumn::make('verified_at')
    ->boolean()
    ->getStateUsing(fn ($record): bool => blank($record->verified_at))
Was this page helpful?