A node that represents a boolean value — e.g. true
.
Attribute | Type | Description |
---|---|---|
kind |
"booleanValueNode" |
The node discriminator. |
boolean |
boolean |
The boolean value. |
This node has no children.
Helper function that creates a BooleanValueNode
object from a boolean.
const node = booleanValueNode(true);