last
Return the last item in an array.
Syntax
{{ value | last }}Example
Basic usage
1{2 "items": [3 "a",4 "b",5 "c"6 ]7}1{{ items | last }}1cReturn the last item in an array.
{{ value | last }}1{2 "items": [3 "a",4 "b",5 "c"6 ]7}1{{ items | last }}1c