Returns whether this set is a subset of the other set. A set A is a subset of B if every element of A is also in B. An empty set is a subset of any set.
Example:
var a = new HashSet<string> (GLib.str_hash, GLib.str_equal);
a.add ("1");
var b = new HashSet<string> (GLib.str_hash, GLib.str_equal);
b.add ("1");
b.add ("2");
assert (a.isSubsetOf (b));
assert (!b.isSubsetOf (a));
| other |
the other set to check against. |
|
true if this set is a subset of the other. |