resolved-graph
Version:
Generates and updates a graph of nodes and links with resolved relationships for ease of traversal and extraction
11 lines (10 loc) • 659 B
TypeScript
/**
* Returns true if the left argument has the same type and value as the right argument or the right argument is null or undefined
*
* If the arguments are objects, returns true if the left object contains properties matching the type and value of all of the right objects properties
*
* If the arguments are arrays, returns true if the left array contains items matching the type and value of all of the items in the right array
*
* If any of the properties or items are objects or arrays, the function will run recursively through their propertierties or items
*/
export declare const matchDeepRight: (left: any, right: any) => boolean;