to-array.js 177 B

123456
  1. "use strict";
  2. var from = require("./from")
  3. , isArray = Array.isArray;
  4. module.exports = function (arrayLike) { return isArray(arrayLike) ? arrayLike : from(arrayLike); };