TupleValueNodeA node that represents the value of a tuple — e.g. ("Alice", 42).
| Attribute | Type | Description |
|---|---|---|
kind |
"tupleValueNode" |
The node discriminator. |
| Attribute | Type | Description |
|---|---|---|
items |
ValueNode[] |
The value of all items in the tuple. |
tupleValueNode(items)Helper function that creates a TupleValueNode object from an array of value nodes.
const node = tupleValueNode([stringValueNode('Alice'), numberValueNode(42)]);