( path: QueryNodePath<QueryNode<any>> )
| 73 | } |
| 74 | |
| 75 | export function getQueryPathParent( |
| 76 | path: QueryNodePath<QueryNode<any>> |
| 77 | ): QueryNodePath<QueryNode<any>> | null { |
| 78 | return path.ancestors.length >= 1 ? path.ancestors[path.ancestors.length - 1] : null |
| 79 | } |