A.Enum.slice

You're seeing just the function slice, go back to A.Enum module for more information.
Link to this function

slice(enumerable, index_range)

View Source

Specs

slice(t(val), Range.t()) :: [val] when val: value()

Returns a subset list of the given enumerable by index_range.

Mirrors Enum.slice/2 with higher performance for Aja structures.

Link to this function

slice(enumerable, start_index, amount)

View Source

Specs

slice(t(val), index(), non_neg_integer()) :: [val] when val: value()

Returns a subset list of the given enumerable, from start_index (zero-based) with amount number of elements if available.

Mirrors Enum.slice/3.