blockly > IToolboxItem > getParent

IToolboxItem.getParent() method

Gets the parent if the toolbox item is nested.

Signature:

getParent(): IToolboxItem | null;

Returns:

IToolboxItem | null

The parent toolbox item, or null if this toolbox item is not nested.