function sap/base/util/deepEqual

Visiblity: public
Available since: N/A
Module: sap/base/util/deepEqual
Application Component:

Compares the two given values for equality, especially by comparing the content.

Note: Function does not work with comparing XML objects.


Parameters Overview

Param Type Default Value Description
a any A value of any type
b any A value of any type
maxDepth? int 10 Maximum recursion depth
contains? boolean Whether all existing properties in a are equal as in b

Methods Overview

Method Description