Sha256: 2f801b9870acfb4309fa5d95a4d8ce8b646c2590d0212eb5168dbf8a186349cd

Contents?: true

Size: 176 Bytes

Versions: 46

Compression:

Stored size: 176 Bytes

Contents

"use strict";

var from = require("./from")

  , isArray = Array.isArray;

module.exports = function (arrayLike) {
	return isArray(arrayLike) ? arrayLike : from(arrayLike);
};

Version data entries

46 entries across 46 versions & 3 rubygems

Version Path
govuk_publishing_components-16.19.0 node_modules/es5-ext/array/to-array.js
govuk_publishing_components-16.18.0 node_modules/es5-ext/array/to-array.js
govuk_publishing_components-16.17.0 node_modules/es5-ext/array/to-array.js
optimacms-0.4.3 spec/dummy/node_modules/es5-ext/array/to-array.js
optimacms-0.4.2 spec/dummy/node_modules/es5-ext/array/to-array.js
cortex-0.1.3 spec/dummy/node_modules/es5-ext/array/to-array.js