Contents

Roo

Hash.has_key?()

Returns True if this Hash contains the specified key. Returns False otherwise.

hash.has_key?(key as Object) as Boolean

var ages = {"Bob" => 30, "Liz" => 10}
ages.has_key?("Bob") # => True
ages.has_key?("bob") # => False (case-sensitive!)