@exadel/esl
Version:
Exadel Smart Library (ESL) is the lightweight custom elements library that provide a set of super-flexible components
8 lines (7 loc) • 343 B
TypeScript
/** Deeply compares passed objects */
export declare function isEqual(obj1: any, obj2: any): boolean;
/**
* Checks if all keys presented in the `mask` are equal to the `obj` keys
* Note: array order is not taken into account and uses intersection strategy
*/
export declare function isSimilar(obj: any, mask: any, deep?: boolean): boolean;