The Diff class stores the difference between two Haxe dynamic objects first and second.
You can later apply the diff object to first to obtain second, or swap the diff and then
apply to second to get first.
Constructor
new(first:Dynamic, second:Dynamic)
Creates a new Diff storing the differences between the two objects passed. The differences basically are:
- Additions: Fields present in
secondthat are not present infirst. - Deletions: Fields present in
firstthat are not present insecond. - Changes: Fields whose value has changed between
firstandsecond.
The class is capable of tracking changes inside arrays.