compare_by_identity?()
public
Returns true if hsh will compare its keys by their identity. Also see
Hash#compare_by_identity.
VALUE
rb_hash_compare_by_id_p(VALUE hash)
{
if (!RHASH(hash)->ntbl)
return Qfalse;
if (RHASH(hash)->ntbl->type == &identhash) {
return Qtrue;
}
return Qfalse;
}