"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.areCombinedGraphQLErrorsEqual = void 0;
const areCombinedGraphQLErrorsEqual = function (a, b, customTesters) {
    const isACombinedGraphQLErrors = a && a.name === "CombinedGraphQLErrors";
    const isBCombinedGraphQLErrors = b && b.name === "CombinedGraphQLErrors";
    if (isACombinedGraphQLErrors && isBCombinedGraphQLErrors) {
        return (a.message === b.message &&
            this.equals(a.errors, b.errors, customTesters) &&
            this.equals(a.data, b.data, customTesters));
    }
    else if (isACombinedGraphQLErrors === isBCombinedGraphQLErrors) {
        return undefined;
    }
    else {
        return false;
    }
};
exports.areCombinedGraphQLErrorsEqual = areCombinedGraphQLErrorsEqual;
//# sourceMappingURL=areCombinedGraphQLErrorsEqual.cjs.map
