"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const f_1 = require("../../system/f/comparisson/Equals/f");
const assert_1 = require("../../util/assert");
const object_1 = require("../../util/object");
const obj = { a: 1, b: { c: 2 } };
const cloned_obj = (0, object_1.clone)(obj);
delete cloned_obj['b']['c'];
delete cloned_obj['b'];
(0, assert_1.default)((0, f_1.default)(cloned_obj, { a: 1 }));
(0, assert_1.default)((0, f_1.default)(obj, { a: 1, b: { c: 2 } }));
const obj2 = { a: 1, b: { c: 2 } };
(0, object_1.deepDestroy)(obj2, ['b', 'c']);
(0, assert_1.default)((0, f_1.default)(obj2, { a: 1 }));
//# sourceMappingURL=object.js.map