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