first

Returns the first item of an array

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