Sha256: 2641e9088a63f4752b4e2bdb252c39686949cff8b0c165e047dde143a36d10ac

Contents?: true

Size: 325 Bytes

Versions: 29

Compression:

Stored size: 325 Bytes

Contents

var arrayLikeToArray = require("./arrayLikeToArray");

function _maybeArrayLike(next, arr, i) {
  if (arr && !Array.isArray(arr) && typeof arr.length === "number") {
    var len = arr.length;
    return arrayLikeToArray(arr, i !== void 0 && i < len ? i : len);
  }

  return next(arr, i);
}

module.exports = _maybeArrayLike;

Version data entries

29 entries across 29 versions & 4 rubygems

Version Path
optimacms-0.1.61 spec/dummy/node_modules/@babel/runtime/helpers/maybeArrayLike.js
trusty-cms-5.0.7 node_modules/@babel/runtime/helpers/maybeArrayLike.js
trusty-cms-5.0.6 node_modules/@babel/runtime/helpers/maybeArrayLike.js
trusty-cms-5.0.5 node_modules/@babel/runtime/helpers/maybeArrayLike.js
trusty-cms-5.0.4 node_modules/@babel/runtime/helpers/maybeArrayLike.js
trusty-cms-5.0.3 node_modules/@babel/runtime/helpers/maybeArrayLike.js
trusty-cms-5.0.2 node_modules/@babel/runtime/helpers/maybeArrayLike.js
trusty-cms-5.0.1 node_modules/@babel/runtime/helpers/maybeArrayLike.js
trusty-cms-4.3.5 node_modules/@babel/runtime/helpers/maybeArrayLike.js
trusty-cms-5.0.0 node_modules/@babel/runtime/helpers/maybeArrayLike.js
trusty-cms-4.3.4 node_modules/@babel/runtime/helpers/maybeArrayLike.js
trusty-cms-4.3.3 node_modules/@babel/runtime/helpers/maybeArrayLike.js
trusty-cms-4.3.2 node_modules/@babel/runtime/helpers/maybeArrayLike.js
trusty-cms-4.3.1 node_modules/@babel/runtime/helpers/maybeArrayLike.js
trusty-cms-4.3 node_modules/@babel/runtime/helpers/maybeArrayLike.js
trusty-cms-4.2.3 node_modules/@babel/runtime/helpers/maybeArrayLike.js
tang-0.2.1 spec/tang_app/node_modules/@babel/runtime/helpers/maybeArrayLike.js
trusty-cms-4.2.2 node_modules/@babel/runtime/helpers/maybeArrayLike.js
trusty-cms-4.2.1 node_modules/@babel/runtime/helpers/maybeArrayLike.js
trusty-cms-4.2 node_modules/@babel/runtime/helpers/maybeArrayLike.js