Packages > @fluidframework/tree > NodeInDocumentConstraint

NodeInDocumentConstraint Interface

A transaction constraint which requires that the given node exists in the tree.

Signature

export interface NodeInDocumentConstraint

Remarks

The node must be in the document (its status must be InDocument ) to qualify as “existing”.

Properties

Property Type Description
node TreeNode
type "nodeInDocument"

Property Details

node

Signature

node: TreeNode;

Type: TreeNode

type

Signature

type: "nodeInDocument";

Type: “nodeInDocument”