class ActiveSupport::HashWithIndifferentAccess

def key?(key)

Experimental RBS support (using type sampling data from the type_fusion project).

def key?: (Symbol key) -> false

This signature was generated using 1 sample from 1 application.

hash.key?('key') # => true
hash.key?(:key) # => true
hash['key'] = 'value'
hash = ActiveSupport::HashWithIndifferentAccess.new

Checks the hash for a key matching the argument passed in:
def key?(key)
  super(convert_key(key))
end