Liquex.Filter.last

You're seeing just the function last, go back to Liquex.Filter module for more information.

Specs

last(list(), Liquex.Context.t()) :: any()

Returns the last item of arr.

Examples

iex> Liquex.Filter.last([1, 2, 3], %{})
3

iex> Liquex.Filter.first([], %{})
nil