caolan / caolan/highland

Extend splitBy to take a function parameter

Open
#163 10 comments 0 reactions 1 assignee Claimed by @apaleslimghost View on GitHub
enhancement
Dominant language
JavaScript
Stars
3.4k
Forks
145
PR merge metrics
No merged PRs in 30d

Description

Right now `splitBy` only takes a string/regex. It could be extended to, like `group`, potentially take a function instead, which is then used to determine when to split, like in [this example](https://github.com/caolan/highland/issues/6#issuecomment-44143123).

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.