XEts.member-question-mark
You're seeing just the function
member-question-mark
, go back to XEts module for more information.
Link to this function
member?(tab, key)
Specs
Check if an item is a member of the table.
Examples
iex> tab = XEts.new(:table) |> XEts.insert(x: 1, y: 2)
iex> XEts.member?(tab, :x)
true
iex> XEts.member?(tab, :z)
false
Link to this function
member?(tab, key, meta)
Specs
Check if an item is a member of the table given metadata.
Examples
iex> tab = XEts.new(:table) |> XEts.insert(x: 1, y: 2)
iex> XEts.member?(tab, :x, XEts.get_meta(tab))
true
iex> XEts.member?(tab, :z, XEts.get_meta(tab))
false