XBoolean.prototype.greaterthanorequal = function(r) {
    if (Utilities.instance_of(r, XNodeSet)) {
        return r.compareWithNumber(this.number(), Operators.lessthan);
    }
    return this.number().greaterthanorequal(r.number());