Method: Hash#_key?

Defined in:
lib/scale_rb/utils.rb

#_key?(key) ⇒ Boolean

Check if the key exists in the hash

Parameters:

  • key (String | Symbol)

    Key to check

Returns:

  • (Boolean)

    True if the key exists, false otherwise



7
8
9
# File 'lib/scale_rb/utils.rb', line 7

def _key?(key)
  ScaleRb::Utils.key?(self, key)
end