API Reference > ui-components > Tree > isTreeModelRootNode isTreeModelRootNode Function Beta Checks if object is TreeModelRootNode isTreeModelRootNode(obj: TreeModelNodeType | undefined): obj is TreeModelRootNode Parameter Type Description obj TreeModelNodeType | undefined Returns - obj is TreeModelRootNode Defined in ui/components/src/ui-components/tree/controlled/TreeModel.ts Line 154 Last Updated: 13 June, 2024