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