Function: getParentToChildPath()
function getParentToChildPath(fromParent, toChild): Path | undefined;
Gets the path to get from a parent to a given child. Returns an empty array if the child is actually the given parent or undefined if the child is not a child of the parent.
Parameters
| Parameter | Type | Description |
|---|---|---|
fromParent | object | - |
toChild | object | - |
Returns
Path | undefined