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

    Function isPublicKeyword

    • Test if a node is a PublicKeyword.

      Parameters

      • node: Node

      Returns node is PublicKeyword

      Whether the given node appears to be a PublicKeyword.

      declare const node: ts.Node;

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