UNPKG

datum-merge

Version:

Simplified diff and merging for deeply nested objects

14 lines 959 B
export declare function getObjectKeys(obj: any, excludeKeys?: string[], includeKeys?: string[]): string[]; export declare function isPlainObject(value: any): value is object; export declare function createValueKeys<T>(keys: string[], value: T): { [key: string]: T; }; export declare function shallowEquals(lhs: any, rhs: any): boolean; export declare function deepEquals(lhs: any, rhs: any): boolean; export declare function deepEqualsPath(lhs: any, rhs: any, atPath: string): boolean; export declare function deepClone<T = any>(val: T): T; export declare function areArraysEqual<T>(arr1: T[] | undefined, arr2: T[] | undefined): boolean; export declare function fastGlobMatch(glob: string, text: string): boolean; export declare function getGlobKeys(obj: any, inclGlobs?: string[], exclGlobs?: string[]): string[]; export declare function selectObjKeys<T extends object>(obj: T, inclKeys?: string[]): Partial<T>; //# sourceMappingURL=datum-utils.d.ts.map