Skip to content

[F] getParentTemplateNode

function getParentTemplateNode(node): Node & TemplateDeclarationNode | undefined

Lookup and find the node

Parameters

ParameterTypeDescription
nodeNodeNode

Returns

Node & TemplateDeclarationNode | undefined

Template Parent node if applicable