Function: $isDirectiveNode()

$isDirectiveNode(node): node is DirectiveNode

Retruns true if the node is an DirectiveNode.

Parameters

ParameterType
nodeundefined | null | LexicalNode

Returns

node is DirectiveNode