Function isAsyncKeyword

  • Test if a node is an AsyncKeyword.

    Parameters

    • node: Node

    Returns node is AsyncKeyword

    Whether the given node appears to be an AsyncKeyword.

    Example

    declare const node: ts.Node;

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