Skip to content
instance method

ObjectSpace::WeakKeyMap#key?

(Key) -> bool
map.key?(key) → true or false

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

See also #inspect #getkey also in 4.1 · 3.4 · 3.3