You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This version fixes an issue with passing undefined values through various sequence operations.
Furthermore an internal rewrite of intermediate operations has been implemented. Sequences now use the native ECMAScript protocol Iterator<T> instead of the legacy interface SequenceIterator<T>. If you use custom intermediate operations via extendSequence you eventually have to adopt your code to fit the Iterator protocol. Please refer to this documentation for further information.
This version adds a new function range() to create a sequence of numbers between the passed numbers startInclusive and endExclusive. Also fixes some type issues with operation filterNotNull().
This version adds several improvements to the internal structure of sequences. As a consequence the API documentation is greatly improved. All sequence operations are now correctly documented on the interface type Sequence.
In addition it's now possible to extend sequences with custom user-defined operations. See this example.
This version adds improved error handling for creating sequences, e.g. asSequence() is passed null, undefined or a non-iterable value Sequency now throws understable error messages.