"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.assert = assert;
exports.equal = equal;
exports.deepEqual = deepEqual;
const f_1 = require("../system/f/comparison/Equals/f");
function assert(test, message = '') {
    if (!test) {
        throw new Error(message);
    }
}
function equal(a, b) {
    return assert(a === b);
}
function deepEqual(a, b) {
    return assert((0, f_1.default)(a, b), `${JSON.stringify(a, null, 2)} is not deep equal to ${JSON.stringify(b, null, 2)}`);
}
assert.equal = equal;
assert.deepEqual = deepEqual;
//# sourceMappingURL=assert.js.map