1 | ;
|
2 | Object.defineProperty(exports, "__esModule", { value: true });
|
3 | exports.copyArray = (array) => {
|
4 | return array.map(object => Object.assign(Object.create(object), object));
|
5 | };
|
6 | exports.copyObject = (object) => {
|
7 | return Object.assign(Object.create(object), object);
|
8 | };
|
9 | exports.isObjectEmpty = (object) => {
|
10 | for (const key in object) {
|
11 | return false;
|
12 | }
|
13 | return true;
|
14 | };
|
15 | //# sourceMappingURL=utils.js.map |
\ | No newline at end of file |