TupleValueNode.md 784 B

TupleValueNode

A node that represents the value of a tuple — e.g. ("Alice", 42).

Attributes

Data

Attribute Type Description
kind "tupleValueNode" The node discriminator.

Children

Attribute Type Description
items ValueNode[] The value of all items in the tuple.

Functions

tupleValueNode(items)

Helper function that creates a TupleValueNode object from an array of value nodes.

const node = tupleValueNode([stringValueNode('Alice'), numberValueNode(42)]);