Skip to content

why non-negative for node.sum #199

@Benbinbin

Description

@Benbinbin

the documentation say the value function at node.sum(value) must return the non-negative number

The function is passed the node’s data, and must return a non-negative number.

I don't know why limit the return number as a non-negative? I think the nagetive also make sense at some situation.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions