general.js 324 B

123456789101112
  1. "use strict";
  2. Object.defineProperty(exports, "__esModule", { value: true });
  3. exports.cloneObject = void 0;
  4. const rfdc = require("rfdc");
  5. const clone = rfdc({ circles: true });
  6. /**
  7. * Deep clones a object in the most easiest manner.
  8. */
  9. function cloneObject(obj) {
  10. return clone(obj);
  11. }
  12. exports.cloneObject = cloneObject;