Documented check for uniqueness in Set collection #57489
Labels
collections
Data structures holding multiple items, e.g. sets
docs
This change adds or pertains to documentation
The documented check for whether an element is in a set is
Base.isequal
. However, based on the code it seems that aDict
is used as the underlying datastructure, which implies that the check is actually usingBase.hash
instead.If instead the
content
field ofA
is aString
, definingBase.isequal
is not necessary.The text was updated successfully, but these errors were encountered: