Function that will compare two arrays, if they are equal.
const a = [1,2,3,4,5]arraysEqual(a, [1,2,3,4]) // => false;arraysEqual(a, [1,2,3,4,5]) // => true;arraysEqual(a, [1,2,3,5,4], false) // => true;
Array Element A
Array Element B
Flag to enable/disable Order checking
Generated using TypeDoc
Function that will compare two arrays, if they are equal.
Example: