ArrayValueNodeA node that represents an array of values — e.g. [1, 2, 3].
| Attribute | Type | Description |
|---|---|---|
kind |
"arrayValueNode" |
The node discriminator. |
| Attribute | Type | Description |
|---|---|---|
items |
ValueNode[] |
The value of all items in array. |
arrayValueNode(items)Helper function that creates a ArrayValueNode object from an array of value nodes.
const node = arrayValueNode([numberValueNode(1), numberValueNode(2), numberValueNode(3)]);