Skip to Content

findParentOfId

findParentOfId(root: AnumaNode, id: string): AnumaNode | null

Defined in: src/tools/slides/jsx.ts:1083 

Find the parent of the node with matching id (null if root or missing).

Parameters

ParameterType

root

AnumaNode

id

string

Returns

AnumaNode | null

Last updated on