I have this function is which I use lodash to check if 2 objects are the same.
private checkForChanges(): boolean {
if (_.isEqual(this.definitionDetails, this.originalDetails) === true) {
return false;
} else {
return true;
}
}
I was wondering if the is a way to print out the properties which are different from eachother (incase the objects do not equal eachother)
i'm using both lodash and JQuery incase it helps