last

Returns the last item of an array

Input
  • foo_array = [1, 2, 3, 4, 5, 6]
    {{ foo_array.last }}
Output
  • 6