Skip to main content

Function: shallowArraysEqual()

shallowArraysEqual<T>(a, b): boolean

Defined in: utilities/shallow-array-equals.ts:6

Compares two arrays for shallow equality.

Type Parameters

T

T

Parameters

a

readonly T[]

The first array to compare.

b

readonly T[]

The second array to compare.

Returns

boolean

True if the arrays are shallowly equal, false otherwise.