Liquex.Filter.first

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

Returns the first item of an array.

Examples

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

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