Skip to content

Latest commit

 

History

History
27 lines (17 loc) · 768 Bytes

SetValueNode.md

File metadata and controls

27 lines (17 loc) · 768 Bytes

SetValueNode

A node that represents a set of values — e.g. {1, 2, 3}.

Attributes

Data

Attribute Type Description
kind "setValueNode" The node discriminator.

Children

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

Functions

setValueNode(items)

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

const node = setValueNode([numberValueNode(1), numberValueNode(2), numberValueNode(3)]);