Node.initBoolean

Initializes node to json.types.NodeType.Value and sets value into it.

If the node has already been initialized once, it will be reset to the given type, and any data contained will be cleared.

class Node
initBoolean
(
bool value
)

Parameters

value bool

a boolean value

Return Value

Type: json.node.Node

the initialized node