This function creates an entry tree EntryTreeInstance that exposes a selection of methods to manage the entries in this tree. It expects an object of type CreateEntryTreeOptions as argument.

const entryTree = createEntryTree();

entryTree.entries = [
    {
        name: 'hello world',
    },
];