instance method
Set#compare_by_identity?
() -> bool
compare_by_identity? → true or false
set.c
View on GitHub ↗
static VALUE
set_i_compare_by_identity_p(VALUE set)
{
return RBOOL(RSET_COMPARE_BY_IDENTITY(set));
}
Returns true if the set will compare its elements by their identity. Also see Set#compare_by_identity.