Skip to content

remove() always returns undefined #7

Open
@mfogel

Description

@mfogel

Hi @w8r, thanks for your work on splay-tree. Very helpful lib.

Per the docs in the README, remove() is intended to return a boolean. Per the docs in remove()'s docstring, it should return a node or null. However, it just returns undefined, irrespective of whether it removed anything or not from the tree.

Note that it appears this is addressed by an open PR: #5

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions