@n3okill/utils
Version:
Many javascript helpers
14 lines • 509 B
JavaScript
Object.defineProperty(exports, "__esModule", { value: true });
exports.deepCloneArray = deepCloneArray;
const cloneArray_1 = require("./cloneArray");
/**
* Deep Clone given array into new array
* @param source Original array to be cloned
* @param transform Function to transform the objects in the array
* @returns The cloned array
*/
function deepCloneArray(source, transform) {
return (0, cloneArray_1.cloneArray)(source, true, transform);
}
//# sourceMappingURL=deepCloneArray.js.map
;