• Returns a boolean value, indicating whether the given value is an empty binary tree.

    Parameters

    • value: any

    Returns boolean

    bool

    Example

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