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
Copy file name to clipboardExpand all lines: README.md
+53Lines changed: 53 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -235,6 +235,7 @@ Quick Reference
235
235
|[`anyMatch`](#any-match)| True if any item is true according to predicate |`summary.anyMatch(data, predicate)`|`summary.anyMatchAsync(data, predicate)`|
236
236
|[`exactlyN`](#exactly-n)| True if exactly n items are true according to predicate |`summary.exactlyN(data, n, predicate)`|`summary.exactlyNAsync(data, n, predicate)`|
237
237
|[`isAsyncIterable`](#is-async-iterable)| True if given data is async iterable |`summary.isAsyncIterable(data)`| — |
238
+
|[`isEmpty`](#is-empty)| True if iterable is empty |`summary.isEmpty(data)`|`summary.isEmptyAsync(data)`|
238
239
|[`isIterable`](#is-iterable)| True if given data is iterable |`summary.isIterable(data)`| — |
239
240
|[`isIterator`](#is-iterator)| True if given data is iterator |`summary.isIterator(data)`| — |
240
241
|[`isReversed`](#is-reversed)| True if iterable reverse sorted |`summary.isReversed(data)`|`summary.isReversedAsync(data)`|
@@ -341,6 +342,7 @@ Quick Reference
341
342
|[`allUnique`](#all-unique-1)| Returns true if all elements of stream are unique |`stream.allUnique(predicate)`|
342
343
|[`anyMatch`](#any-match-1)| Returns true if any item in stream matches predicate |`stream.anyMatch(predicate)`|
343
344
|[`exactlyN`](#exactly-n-1)| Returns true if exactly n items are true according to predicate |`stream.exactlyN(n, predicate)`|
345
+
|[`isEmpty`](#is-empty-1)| Returns true if stream is empty |`stream.isEmpty()`|
344
346
|[`isReversed`](#is-reversed-1)| Returns true if stream is sorted in reverse descending order |`stream.isReversed()`|
345
347
|[`isSorted`](#is-sorted-1)| Returns true if stream is sorted in ascending order |`stream.isSorted()`|
346
348
|[`noneMatch`](#none-match-1)| Returns true if none of the items in stream match predicate |`stream.noneMatch(predicate)`|
Copy file name to clipboardExpand all lines: package.json
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
{
2
2
"name": "itertools-ts",
3
-
"version": "2.4.1",
3
+
"version": "2.5.0",
4
4
"description": "Extended itertools port for TypeScript and JavaScript. Provides a huge set of functions for working with iterable collections (including async ones)",
0 commit comments