Function isTreeNode

  • Checks if a given object is now a tree node.

    Parameters

    • value: unknown

      Value to check.

    Returns value is object

    true if it is a tree node, false otherwise.