# Public Methods
|compare()||Compares two arrays and returns whether they are identical.|
|diff()||Generates a diff for two values, represented as YAML.|
Compares two arrays and returns whether they are identical.
If the values are both arrays, they will be compared recursively.
$strict(boolean (opens new window)) – Whether strict comparisons should be used
Generates a diff for two values, represented as YAML.
$indent(integer (opens new window)) – The indent size that nested values should have
$contextLines(integer (opens new window)) – The number of lines to show before and after changes