Skip to main content
Version: Latest (0.60.x)

[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