HashSet.contains

Does this set contain the given element?

Time complexity: O(1) average; O(n) worst

class HashSet(V, alias Hash = Container.hash, alias Reap = Container.reap, alias Heap = Container.DefaultCollect)
final
bool
contains

Meta