Ruby Newbie homepage Ruby Newbie homepage

How to use

Quick guide

Official content
Methods has_key?, key?, and member? are aliases for #include?.
Returns true if key is a key in self, otherwise false.
 
               MJIT_FUNC_EXPORTED VALUE
rb_hash_has_key(VALUE hash, VALUE key)
{
    return RBOOL(hash_stlike_lookup(hash, key, NULL));
}
            

Was this page useful?