$users->pluck($field, $split = null, $unique = false)

Plucks all values for a specific field from the collection and returns those as array.

  • return (array)