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