Skip to content

Generalize current filter function inside search. #63

Open
@muendlein

Description

@muendlein

Allow any arbitrary node function to be applied here, e.g. when node index shall be inserted somewhere else.

flatbush/index.js

Lines 239 to 241 in 3a6f0f0

} else if (filterFn === undefined || filterFn(index)) {
results.push(index); // leaf item
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions