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

    Function isAssertKeyword

    • Test if a node is an AssertKeyword.

      Parameters

      • node: Node

      Returns node is AssertKeyword

      Whether the given node appears to be an AssertKeyword.

      declare const node: ts.Node;

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