[F] getParentTemplateNode
function getParentTemplateNode(node): Node & TemplateDeclarationNode | undefinedLookup and find the node
Parameters
| Parameter | Type | Description |
|---|---|---|
node | Node | Node |
Returns
Node & TemplateDeclarationNode | undefined
Template Parent node if applicable