Test if the given node has the given NodeFlags set.
NodeFlags
declare const node: ts.Node;if (isNodeFlagSet(node, ts.NodeFlags.AwaitContext)) { // ...} Copy
declare const node: ts.Node;if (isNodeFlagSet(node, ts.NodeFlags.AwaitContext)) { // ...}
Test if the given node has the given
NodeFlags
set.