@n3okill/utils
Version:
Many javascript helpers
11 lines • 377 B
JavaScript
import { cloneArray } from "./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
*/
export function deepCloneArray(source, transform) {
return cloneArray(source, true, transform);
}
//# sourceMappingURL=deepCloneArray.js.map