Skip to main content


         This documentation site is for previous versions. Visit our new documentation site for current releases.      
 

isDeepEqual(oldValue, newValue)

Updated on July 20, 2021

Determines if the values of two objects are the same by performing a deep comparison.

Returns

The Boolean value true if the values of the objects are the same.

Parameters

NameTypeDescriptionRequired
oldValueobjectThe value of the first object.
newValueobjectThe value of the second object.

Usage example

In this example, the API returns the Boolean value true.

PCore.isDeepEqual({'a': '123'}, {'a': '123'});

Have a question? Get answers now.

Visit the Support Center to ask questions, engage in discussions, share ideas, and help others.

Did you find this content helpful?

Want to help us improve this content?

We'd prefer it if you saw us at our best.

Pega.com is not optimized for Internet Explorer. For the optimal experience, please use:

Close Deprecation Notice
Contact us