Function isStaticKeyword

  • Test if a node is a StaticKeyword.

    Parameters

    • node: Node

    Returns node is StaticKeyword

    Whether the given node appears to be a StaticKeyword.

    Example

    declare const node: ts.Node;

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