$collection->nth($n)

Returns the nth element from the array

  • $n (int)
  • return (mixed)