Closed AlexVipond closed 1 year ago
@RobinMalfait thoughts on this PR and #25?
Hey, thanks so much for this contribution! 🙏
I rebased the branch and made some adjustments in #29, but made sure to still include you as a contributor. I also made a recent change such that an insiders release is published so that you can already play with it:
npm install lazy-collections@insiders
Matches functionality of
Array.prototype.includes
, except that it doesn't support a negativefromIndex
, to avoid exhausting the full iterator. Followed the lead ofslice
when making that decision.