Enum.member?/2
defmodule Enum do
def member?(enumerable, elem)
end
Returns true
if any element in the enumerable is equal (in terms of ===/3
) to elem
.
If no element is found then false
is returned.
defmodule Enum do
def member?(enumerable, elem)
end
Returns true
if any element in the enumerable is equal (in terms of ===/3
) to elem
.
If no element is found then false
is returned.