Returns a boolean value, indicating whether the given value is an empty binary tree.
bool
const tree = make_tree(1, make_empty_tree(), make_empty_tree());display(is_empty_tree(tree)); // Shows "false" in the REPL Copy
const tree = make_tree(1, make_empty_tree(), make_empty_tree());display(is_empty_tree(tree)); // Shows "false" in the REPL
Returns a boolean value, indicating whether the given value is an empty binary tree.