export const prependWith = (arr: string[], prep: string) => Array(arr.length * 2) .fill(0) .map((_, i) => i % 2 === 0) .map((isPrep, i) => (isPrep ? prep : arr[Math.floor(i / 2)]!));