API Reference > presentation-backend > Core > PresentationManager > compareHierarchies compareHierarchies Method Overloads compareHierarchies(requestOptions) compareHierarchies(requestContext, requestOptions) Deprecated compareHierarchies(requestOptions) Compares two hierarchies specified in the request options compareHierarchies(requestOptions: WithClientRequestContext<HierarchyCompareOptions<IModelDb, NodeKey, RulesetVariable>>): Promise<HierarchyCompareInfo> Parameter Type Description requestOptions WithClientRequestContext<HierarchyCompareOptions<IModelDb, NodeKey, RulesetVariable>> Returns - Promise<HierarchyCompareInfo> compareHierarchies(requestContext, requestOptions) Deprecated Use an overload with one argument compareHierarchies(requestContext: ClientRequestContext, requestOptions: HierarchyCompareOptions<IModelDb, NodeKey, RulesetVariable>): Promise<PartialHierarchyModification[]> Parameter Type Description requestContext ClientRequestContext requestOptions HierarchyCompareOptions<IModelDb, NodeKey, RulesetVariable> Returns - Promise<PartialHierarchyModification[]> Defined in presentation/backend/src/presentation-backend/PresentationManager.ts Line 965 Last Updated: 11 June, 2024