public static bool operator <=(SetCollection self, object other) { ISet s = other as ISet; if (s == null) { throw PythonOps.TypeError("can only compare to a set"); } return(SetHelpers.IsSubset(self, s, false)); }
public object IsSubset(object s) { return(SetHelpers.IsSubset(this, s)); }
public bool issubset(object set) { return(SetHelpers.IsSubset(this, set)); }