blockly > ToolboxItem > getParent
ToolboxItem.getParent() method
Gets the parent if the toolbox item is nested.
Signature:
getParent(): ICollapsibleToolboxItem | null;
Returns:
ICollapsibleToolboxItem | null
The parent toolbox item, or null if this toolbox item is not nested.