CommonArraysEqual
Callable
Parameters
a1: readonly any[]
The first array to compare
a2: readonly any[]
The second array to compare
optionalignoreOrder: boolean = false
Whether to ignore item order when considering equality
Returns boolean
- TRUE if both arrays have the same length and contain the same items in the same order, FALSE otherwise
Checks whether two arrays are equal. The arrays are considered equal if they have the same length and contain the same items in the same order, as determined by === comparison