Function isNode

  • Returns true is the argument is a node.

    This method acts as a type guard for Node.

    Parameters

    • node: any

      The object to test.

    Returns node is Node

    true if the object is a node.

Generated using TypeDoc