index_ofΒΆ

Returns the index of the first occurrence of the item in the given list.

For example:

{{ [44,11,2,443,2]|index_of:11 }}

Returns 2.

Note: Erlang list indices are always 1-based.

See also

element

Previous topic

in_past

Next topic

inject_recipientdetails

Versions

Actions