One of the functions I currently have incorporates lodash to compare two objects and determine if they are identical.
private checkForChanges(): boolean {
if (_.isEqual(this.definitionDetails, this.originalDetails) === true) {
return false;
} else {
return true;
}
}
I am curious if there is a method to display the properties that differ between the two objects (in case they are not equal).
I am utilizing both lodash and JQuery for this purpose.