Sha256: 98483c78904fbba0cc20e5d9a688bc41aa96a765576080934ad9f11e65719b6b

Contents?: true

Size: 326 Bytes

Versions: 49

Compression:

Stored size: 326 Bytes

Contents

/** PURE_IMPORTS_START ._reduce PURE_IMPORTS_END */
import { reduce } from './reduce';
function toArrayReducer(arr, item, index) {
    if (index === 0) {
        return [item];
    }
    arr.push(item);
    return arr;
}
export function toArray() {
    return reduce(toArrayReducer, []);
}
//# sourceMappingURL=toArray.js.map

Version data entries

49 entries across 49 versions & 4 rubygems

Version Path
govuk_publishing_components-16.21.0 node_modules/rxjs/_esm5/operators/toArray.js
govuk_publishing_components-16.20.1 node_modules/rxjs/_esm5/operators/toArray.js
govuk_publishing_components-16.20.0 node_modules/rxjs/_esm5/operators/toArray.js
govuk_publishing_components-16.19.0 node_modules/rxjs/_esm5/operators/toArray.js
govuk_publishing_components-16.18.0 node_modules/rxjs/_esm5/operators/toArray.js
govuk_publishing_components-16.17.0 node_modules/rxjs/_esm5/operators/toArray.js
locomotivecms-4.0.0.alpha1 app/javascript/node_modules/inquirer/node_modules/rxjs/_esm5/operators/toArray.js
locomotivecms-3.4.0 app/javascript/node_modules/rxjs/_esm5/operators/toArray.js
dragonfly_puppeteer-0.1.0 node_modules/rxjs/_esm5/operators/toArray.js