Skip to content

Commit

Permalink
Merge 3b80fdf into 8ff1ffa
Browse files Browse the repository at this point in the history
  • Loading branch information
halay08 committed Oct 22, 2020
2 parents 8ff1ffa + 3b80fdf commit a47926f
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 @@ -1369,7 +1369,7 @@ import itiriri from 'itiriri';
itiriri([1, 2, 3]).skipWhile(() => true); // returns []
itiriri([1, 2, 3]).skipWhile(() => false); // returns [1, 2, 3]
itiriri([1, 2, 3]).skipWhile(e => e < 3); // returns [3]
itiriri([1, 2, 3]).skipWhile(e => e % 2 === 0); // returns [1, 2, 3]
itiriri([1, 2, 3]).skipWhile(e => e % 2 === 0); // returns [2]
```
`skipWhile` *is a deferred method and is executed only when the result sequence is iterated.*
Expand Down

0 comments on commit a47926f

Please sign in to comment.