fn contains(self: Self, key: Key) bool

Checks if a key is in the set.

Parameters

self: Self,
key: Key,