Node.setBoolean

void setBoolean(bool value)

Sets value as the boolean content of the node, replacing any existing content.

It is an error to call this on an immutable node, or on a node which is not a value node.

Parameters

valuea boolean value