How to use deep-diff

Comprehensive deep-diff code examples:

How to use deep-diff.diff:

1297
1298
1299
1300
1301
1302
1303
1304
1305
    actual = ACCommands.cleanComplianceObjectBeforeCompare(actual);
    expected = ACCommands.cleanComplianceObjectBeforeCompare(expected);
}

// Run Deep diff function to compare the actual and expected values.
let differences = DeepDiff.diff(actual, expected);

// Return the results of the diff, which will include the differences between the objects
if (!differences) return null;