StringValueNodeA node that represents a string value — e.g. "Hello".
| Attribute | Type | Description |
|---|---|---|
kind |
"stringValueNode" |
The node discriminator. |
string |
string |
The string value. |
This node has no children.
stringValueNode(string)Helper function that creates a StringValueNode object from a string value.
const node = stringValueNode('Hello');