Skip to content
instance method

ObjectSpace::WeakMap#key?

map.key?(key) → true or false

Alias of #include?

Returns true if key is a key in self, otherwise false.

See also #include? #inspect #keys #length also in 4.1 · 3.4 · 3.3 · 3.2 · 3.1 · 3.0