"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.arrayWithLength = void 0;
const arrayWithLength = function (actual, length) {
    if (!Array.isArray(actual)) {
        throw new Error("Actual value must be an array");
    }
    const pass = actual.length === length;
    return {
        pass,
        message: () => `expected array to ${pass ? "not be" : "be"} of length ${length}`,
    };
};
exports.arrayWithLength = arrayWithLength;
//# sourceMappingURL=arrayWithLength.cjs.map
