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