getBoolean

JSON::Node::getBoolean

Returns the boolean contained in a Boolean Node.

Declaration

bool getBoolean() const;

Parameters

None.

Returns

The value of a Boolean JSON::Node.

Notes

This function can only be called on a JSON::Node with the Boolean JSON::Type.