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

Checks if the map contains an item.

Parameters

self: Self,
key: Key,