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