Function isProtectedKeyword

  • Test if a node is a ProtectedKeyword.

    Parameters

    • node: Node

    Returns node is ProtectedKeyword

    Whether the given node appears to be a ProtectedKeyword.

    Example

    declare const node: ts.Node;

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