Skip to content

Latest commit

 

History

History
27 lines (17 loc) · 832 Bytes

SomeValueNode.md

File metadata and controls

27 lines (17 loc) · 832 Bytes

SomeValueNode

A node that represents the presence of a value. For instance, this could be set as a default value for a field of type OptionTypeNode.

Attributes

Data

Attribute Type Description
kind "someValueNode" The node discriminator.

Children

Attribute Type Description
value ValueNode The value that is marked as present.

Functions

someValueNode(value)

Helper function that creates a SomeValueNode object from a value node

const node = someValueNode(numberValueNode(42));