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
+9-1Lines changed: 9 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -132,7 +132,7 @@ All entry points always return an instance of the pipeline.
132
132
|`unpack()`| Unpacks arrays into arguments for a callback. Flattens inputs if no callback provided. ||
133
133
|`chunk()`| Chunks the pipeline into arrays of specified length. |`array_chunk`|
134
134
|`chunkBy()`| Chunks the pipeline into arrays with variable sizes. Size 0 produces empty arrays. ||
135
-
|`select()`| Selects elements for which the callback returns true. By default only removes `null` and `false`. |`array_filter`, `filter`, `Where`|
135
+
|`select()`| Selects elements for which the callback returns true. By default only removes `null` and `false`. Optional `onReject` for side effects. |`array_filter`, `filter`, `Where`|
136
136
|`filter()`| Alias for `select()` with `strict: false` default. Removes all falsy values like `array_filter`. |`array_filter`|
137
137
|`tap()`| Performs side effects on each element without changing the values in the pipeline. ||
138
138
|`skipWhile()`| Skips elements while the predicate returns true, and keeps everything after the predicate return false just once. ||
0 commit comments