1 // Copyright (C) The Arvados Authors. All rights reserved.
3 // SPDX-License-Identifier: AGPL-3.0
4 import * as _ from "lodash";
6 export function getModifiedKeys(a: any, b: any) {
7 const keys = _.union(_.keys(a), _.keys(b));
8 return _.filter(keys, key => a[key] !== b[key]);
11 export function getModifiedKeysValues(a: any, b: any) {
12 const keys = getModifiedKeys(a, b);