Sha256: 0ccb99e1fed07dbe5bec9f9d75a9aaf4591fb6ae3d719f94bc3bb6e8f5f2bff3

Contents?: true

Size: 609 Bytes

Versions: 274

Compression:

Stored size: 609 Bytes

Contents

var baseRest = require('./_baseRest'),
    unzip = require('./unzip');

/**
 * Creates an array of grouped elements, the first of which contains the
 * first elements of the given arrays, the second of which contains the
 * second elements of the given arrays, and so on.
 *
 * @static
 * @memberOf _
 * @since 0.1.0
 * @category Array
 * @param {...Array} [arrays] The arrays to process.
 * @returns {Array} Returns the new array of grouped elements.
 * @example
 *
 * _.zip(['a', 'b'], [1, 2], [true, false]);
 * // => [['a', 1, true], ['b', 2, false]]
 */
var zip = baseRest(unzip);

module.exports = zip;

Version data entries

274 entries across 272 versions & 30 rubygems

Version Path
immosquare-cleaner-0.1.60 node_modules/lodash/zip.js
immosquare-cleaner-0.1.59 node_modules/lodash/zip.js
immosquare-cleaner-0.1.58 node_modules/lodash/zip.js
immosquare-cleaner-0.1.57 node_modules/lodash/zip.js
immosquare-cleaner-0.1.56 node_modules/lodash/zip.js
immosquare-cleaner-0.1.55 node_modules/lodash/zip.js
immosquare-cleaner-0.1.54 node_modules/lodash/zip.js
immosquare-cleaner-0.1.53 node_modules/lodash/zip.js
immosquare-cleaner-0.1.52 node_modules/lodash/zip.js
trusty-cms-6.3.1 node_modules/lodash/zip.js
immosquare-cleaner-0.1.51 node_modules/lodash/zip.js
boring_generators-0.15.0 tmp/templates/app_template/node_modules/lodash/zip.js
clapton-0.0.26 lib/clapton/javascripts/node_modules/lodash/zip.js
clapton-0.0.25 lib/clapton/javascripts/node_modules/lodash/zip.js
immosquare-cleaner-0.1.50 node_modules/lodash/zip.js
clapton-0.0.24 lib/clapton/javascripts/node_modules/lodash/zip.js
clapton-0.0.23 lib/clapton/javascripts/node_modules/lodash/zip.js
clapton-0.0.22 lib/clapton/javascripts/node_modules/lodash/zip.js
clapton-0.0.21 lib/clapton/javascripts/node_modules/lodash/zip.js
clapton-0.0.20 lib/clapton/javascripts/node_modules/lodash/zip.js