Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/remapper/src/general.ts>arrAdd

A framework for Beat Saber map scripting.
Latest
function arrAdd
import { arrAdd } from "https://deno.land/x/remapper@3.1.2/src/general.ts";

Add either a number or another array to an array.

Type Parameters

T extends readonly [] | readonly number[]

Parameters

arr: T

Input array.

value: [K in keyof T]: number | number

Can be a number or an array.