Function: $isDirectiveNode()
$isDirectiveNode(
node
):node is DirectiveNode
Retruns true if the node is an DirectiveNode.
Parameters
Parameter | Type |
---|---|
node | undefined | null | LexicalNode |
Returns
node is DirectiveNode
$isDirectiveNode(
node
):node is DirectiveNode
Retruns true if the node is an DirectiveNode.
Parameter | Type |
---|---|
node | undefined | null | LexicalNode |
node is DirectiveNode