Just realised I was looking in the wrong API. The Model class doesn’t have this, but the SoftDelete trait that my models use has a trashed() method.
So I can write
if ($thing->trashed()) { ... }
Just realised I was looking in the wrong API. The Model class doesn’t have this, but the SoftDelete trait that my models use has a trashed() method.
So I can write
if ($thing->trashed()) { ... }