• Returns the entry of a given binary tree.

    Parameters

    • t: BinaryTree

      BinaryTree to be accessed

    Returns boolean

    Value

    Example

    const tree = make_tree(1, make_empty_tree(), make_empty_tree());
    display(entry(tree)); // Shows "1" in the REPL