$collection->first()

Returns the first element from the array

  • return (mixed)