ConstCompare 2 objects for quality by comparing the values of the properties of the objects instead of only reference-equality.
For none-object (primitives such as string, integer, etc) a primitiveCompare can be specified; it no primitiveCompare is specified
equality for primitives defaults a ===-comparison.
When comparing objects a objectCompare can be specified; if no objectCompare is specified the objectEquals-function is used to compare the objects.
If there is a self-referencing loop in the object graph the function will throw an error.
Optionala: unknownObject to which object b is compared
Optionalb: unknownObject to which object a is compared
Optionaloptions: ObjectEqualsOptionsAdditional options to control the comparison
true if objects a and b are equal otherwise false.
Alias for objectEquals; see objectEquals for more details