Skip to main content

Home > blockly > Navigator > getParent

Returns the parent of the given object instance, if any.

Signature:

getParent(current: IFocusableNode): IFocusableNode | null;

Parameters

ParameterTypeDescription
currentIFocusableNodeThe object to retrieve the parent of.

Returns:

IFocusableNode | null

The parent node of the given object, if any.