Skip to main content

Class: ArrayHelper

Array helper methods.

Table of contents

Methods

Constructors

Methods

equal

Static equal(array1, array2): boolean

Are the two array equals.

Parameters

NameTypeDescription
array1undefined | ArrayLike<unknown>The first array.
array2undefined | ArrayLike<unknown>The second array.

Returns

boolean

True if the arrays are equal.

Constructors

constructor

new ArrayHelper()