Array element type.
First array to compare.
Second array to compare.
Optional
length: null | numberThe maximum number of elements to compare. Defaults to array length. Negative value means 0
.
true
if up to length
corresponding array elements are strictly equal to each other.
Checks whether two array ranges are equal.
Array element type.
First array to compare.
Second array to compare. Negative or absent value means 0
.
The first element index to compare. Negative value means 0
. Absent value means array length.
The number one more than the last element index to compare.
true
if all corresponding elements in corresponding array ranges are strictly equal to each other.
Checks whether two arrays are equal by comparing corresponding elements with the given comparator function.
Array element type.
First array to compare.
Second array to compare.
Array elements comparator. Accepts elements to compare and their index as arguments.
Returns true
if elements are equal, or false
otherwise.
Optional
length: null | numberThe maximum number of elements to compare. Defaults to array length.
true
if elementsAreEqual
comparator returned true
for up to length
corresponding array element
pairs.
Checks whether two array ranges are equal by comparing corresponding elements with the given comparator function.
Array element type.
First array to compare.
Second array to compare.
Array elements comparator. Accepts elements to compare and their index as arguments.
Returns true
if elements are equal, or false
otherwise.
The first element index to compare. Negative value means 0
. Absent value means array length.
The number one more than the last element index to compare.
true
if elementsAreEqual
comparator returned true
for up to length
corresponding array element
pairs.
Generated using TypeDoc
Checks whether two arrays are equal.