$users->filter($callback)

Filters the collection of users by a given callback function

  • return ($users)