diff --git a/src/main/as/com/threerings/presents/dobj/DSet.as b/src/main/as/com/threerings/presents/dobj/DSet.as index 5d7f3f322..d942fc49b 100644 --- a/src/main/as/com/threerings/presents/dobj/DSet.as +++ b/src/main/as/com/threerings/presents/dobj/DSet.as @@ -63,6 +63,14 @@ public class DSet } /** + * Returns true if this set contains no entries. + */ + public function isEmpty () :Boolean + { + return _entries.length == 0; + } + + /** * Returns true if the set contains an entry whose * getKey() method returns a key that * equals() the key returned by getKey() of