Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/remapper/src/general.ts>arrEqual

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

Check if 2 arrays are equal to each other.

Type Parameters

T extends readonly [] | readonly number[]

Parameters

arr1: T

First array.

arr2: [K in keyof T]: number

Second array.

optional
lenience = [UNSUPPORTED]

The maximum difference 2 numbers in an array can have before they're considered not equal.