summaryrefslogtreecommitdiff
path: root/utils/prepend.ts
diff options
context:
space:
mode:
Diffstat (limited to 'utils/prepend.ts')
-rw-r--r--utils/prepend.ts4
1 files changed, 0 insertions, 4 deletions
diff --git a/utils/prepend.ts b/utils/prepend.ts
deleted file mode 100644
index 9b77aff..0000000
--- a/utils/prepend.ts
+++ /dev/null
@@ -1,4 +0,0 @@
-export const prependWith = (arr: string[], prep: string) =>
- Array(arr.length * 2).fill(0)
- .map((_, i) => i % 2 === 0)
- .map((isPrep, i) => isPrep ? prep : arr[i]);