$collection->prev()

Moves the cursor to the previous element in the array and returns it

  • return (mixed)