Function isPrivateKeyword

  • Test if a node is a PrivateKeyword.

    Parameters

    • node: Node

    Returns node is PrivateKeyword

    Whether the given node appears to be a PrivateKeyword.

    Example

    declare const node: ts.Node;

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