Function isAssertKeyword

  • Test if a node is an AssertKeyword.

    Parameters

    • node: Node

    Returns node is AssertKeyword

    Whether the given node appears to be an AssertKeyword.

    Example

    declare const node: ts.Node;

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