|
Last change
on this file was 9af201e, checked in by MBK <marija.karapandzova@…>, 11 days ago |
|
Fix frontend appearance
|
-
Property mode
set to
100644
|
|
File size:
280 bytes
|
| Line | |
|---|
| 1 | import group from './_group.js';
|
|---|
| 2 |
|
|---|
| 3 | // Split a collection into two arrays: one whose elements all pass the given
|
|---|
| 4 | // truth test, and one whose elements all do not pass the truth test.
|
|---|
| 5 | export default group(function(result, value, pass) {
|
|---|
| 6 | result[pass ? 0 : 1].push(value);
|
|---|
| 7 | }, true);
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.