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

    Function hasModifiers

    • Test if a node is a HasModifiers.

      Parameters

      • node: Node

      Returns node is HasModifiers

      Whether the given node appears to be a HasModifiers.

      declare const node: ts.Node;

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