Liquex.Filter.map

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

Specs

map([any()], term(), Liquex.Context.t()) :: [any()]

Creates an array (arr) of values by extracting the values of a named property from another object (key).

Examples

iex> Liquex.Filter.map([%{"a" => 1}, %{"a" => 2, "b" => 1}], "a", %{})
[1, 2]