Node.getBoolean

Gets the boolean value stored inside a node.

If the node holds an integer or double value which is zero, FALSE is returned; otherwise TRUE is returned.

If the node holds a json.types.NodeType.Null value or a value of another non-boolean type, FALSE is returned.

class Node
bool
getBoolean
()

Return Value

Type: bool

a boolean value.