ts-api-utils - v3.0.0-rc.1
    Preparing search index...

    Function isDeclareKeyword

    • Test if a node is a DeclareKeyword.

      Parameters

      • node: Node

      Returns node is DeclareKeyword

      Whether the given node appears to be a DeclareKeyword.

      declare const node: ts.Node;

      if (isDeclareKeyword(node)) {
      // ...
      }