d2-utilizr
Advanced tools
Comparing version 0.0.17 to 0.0.18
{ | ||
"name": "d2-utilizr", | ||
"version": "0.0.17", | ||
"version": "0.0.18", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -310,3 +310,3 @@ // TYPE | ||
// arrayReplace | ||
export function replace(array, index, removeCount, insert) { | ||
export function arrayReplace(array, index, removeCount, insert) { | ||
if (insert && insert.length) { | ||
@@ -325,4 +325,4 @@ if (index < array.length) { | ||
// arrayInsert (dependency: arrayReplace) | ||
export function (array, index, items) { | ||
return replace(array, index, 0, items); | ||
export function arrayInsert(array, index, items) { | ||
return arrayReplace(array, index, 0, items); | ||
} | ||
@@ -329,0 +329,0 @@ |
20059