@itwin/presentation-hierarchies-react
Version:
React components based on `@itwin/presentation-hierarchies`
12 lines • 561 B
JavaScript
/*---------------------------------------------------------------------------------------------
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
* See LICENSE.md in the project root for license terms and full copyright notice.
*--------------------------------------------------------------------------------------------*/
/**
* An utility function to check if a node is a `PresentationHierarchyNode`.
* @public
*/
export function isPresentationHierarchyNode(node) {
return "children" in node;
}
//# sourceMappingURL=TreeNode.js.map