Function: diffLegend()
function diffLegend(diff): object[];
Legend items for a diff (label, tone, count) for overlays: added, removed, changed in that
order, counting top-level entries like diff.summary (tables, refs, enums, groups, notes,
views; project settings once). Tones with no entries are left out, so an empty diff has none.
Parameters
diff
Returns
object[]