UNPKG

deep-shape-equals

Version:

`deep-shape-equals` is a library that allows you to see if two or more objects have the same shape. Meaning, the keys that they have are the same.

7 lines (6 loc) 367 B
/** * checks to see if objects given as args are of the same shape * @param objects Args to take in. Array * @param ignoreArrayOrder An optional parameter. If false, it will ignore the order of things in arrays, warning that this has unwanted side effects */ export declare function areObjectsSameShape(objects: any[], ignoreArrayOrder?: boolean): boolean;