Function isInKeyword

  • Test if a node is an InKeyword.

    Parameters

    • node: Node

    Returns node is InKeyword

    Whether the given node appears to be an InKeyword.

    Example

    declare const node: ts.Node;

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