Skip to content

Commit

Permalink
Fix: Typo findNext -> findPrevious
Browse files Browse the repository at this point in the history
  • Loading branch information
cschuller committed Jun 28, 2019
1 parent 68976e5 commit 1517aa2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ const last = set.last();
const value1 = set.findNext(value => value > 1, 1);

// find the previous value matching this function
const value2 = set.findNext(value => value > 1, 3);
const value2 = set.findPrevious(value => value > 1, 3);

// remove a value
set.delete(1);
Expand Down

0 comments on commit 1517aa2

Please sign in to comment.