update_property#

BinaryTreeNode.update_property(prop_name, prop_value)[source]#

Update the property of the binary tree node.

Parameters:
prop_namestr

Name of the property.

prop_valuestr

Value of the property.

Returns:
bool

True when successful, False when failed.