Node.equal

bool equal(json.node.Node b)

Check whether a and b are equal node, meaning they have the same type and same values (checked recursively).

Note that integer values are compared numerically, ignoring type, so a double value 4.0 is equal to the integer value 4.

Parameters

banother JSON node

Returns

TRUE if a and b are equal; FALSE otherwise