deepEqual

Function

Compares two values deeply for equality. Works for primatives, arrays and objects. Not verified for other types.

  • deepEqual(a: any, b: any) : boolean

Parameters

Parameter Type Default Notes
a Required any

The first value to compare.

b Required any

The second value to compare.

Returns

True if the values are deeply equal, false otherwise.

boolean

Function defined in common/src/objects/deepEqual.ts:11