Function: $isDirectiveNode

$isDirectiveNode(node): node is DirectiveNode

Retruns true if the node is an DirectiveNode.

Parameters

NameType
nodeundefined | null | LexicalNode

Returns

node is DirectiveNode