StringValueNode.md 570 B

StringValueNode

A node that represents a string value — e.g. "Hello".

Attributes

Data

Attribute Type Description
kind "stringValueNode" The node discriminator.
string string The string value.

Children

This node has no children.

Functions

stringValueNode(string)

Helper function that creates a StringValueNode object from a string value.

const node = stringValueNode('Hello');