Sha256: 15f0dc7f3dc93249ca7e18ad072245ac1c488e214633d70c4e69a4c4e9545a1d

Contents?: true

Size: 607 Bytes

Versions: 30

Compression:

Stored size: 607 Bytes

Contents

export default function _iterableToArrayLimit(arr, i) {
  var _i = arr == null ? null : typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"];

  if (_i == null) return;
  var _arr = [];
  var _n = true;
  var _d = false;

  var _s, _e;

  try {
    for (_i = _i.call(arr); !(_n = (_s = _i.next()).done); _n = true) {
      _arr.push(_s.value);

      if (i && _arr.length === i) break;
    }
  } catch (err) {
    _d = true;
    _e = err;
  } finally {
    try {
      if (!_n && _i["return"] != null) _i["return"]();
    } finally {
      if (_d) throw _e;
    }
  }

  return _arr;
}

Version data entries

30 entries across 30 versions & 3 rubygems

Version Path
isomorfeus-redux-4.2.0 node_modules/@babel/runtime/helpers/esm/iterableToArrayLimit.js
isomorfeus-redux-4.1.18 node_modules/@babel/runtime/helpers/esm/iterableToArrayLimit.js
isomorfeus-redux-4.1.17 node_modules/@babel/runtime/helpers/esm/iterableToArrayLimit.js
isomorfeus-redux-4.1.16 node_modules/@babel/runtime/helpers/esm/iterableToArrayLimit.js
isomorfeus-redux-4.1.15 node_modules/@babel/runtime/helpers/esm/iterableToArrayLimit.js
isomorfeus-redux-4.1.14 node_modules/@babel/runtime/helpers/esm/iterableToArrayLimit.js
isomorfeus-redux-4.1.13 node_modules/@babel/runtime/helpers/esm/iterableToArrayLimit.js
isomorfeus-redux-4.1.12 node_modules/@babel/runtime/helpers/esm/iterableToArrayLimit.js
disco_app-0.16.1 test/dummy/node_modules/@babel/runtime/helpers/esm/iterableToArrayLimit.js
isomorfeus-redux-4.1.11 node_modules/@babel/runtime/helpers/esm/iterableToArrayLimit.js
isomorfeus-redux-4.1.10 node_modules/@babel/runtime/helpers/esm/iterableToArrayLimit.js
isomorfeus-redux-4.1.9 node_modules/@babel/runtime/helpers/esm/iterableToArrayLimit.js
disco_app-0.15.2 test/dummy/node_modules/@babel/runtime/helpers/esm/iterableToArrayLimit.js
isomorfeus-redux-4.1.8 node_modules/@babel/runtime/helpers/esm/iterableToArrayLimit.js
isomorfeus-redux-4.1.7 node_modules/@babel/runtime/helpers/esm/iterableToArrayLimit.js
disco_app-0.18.4 test/dummy/node_modules/@babel/runtime/helpers/esm/iterableToArrayLimit.js
disco_app-0.18.1 test/dummy/node_modules/@babel/runtime/helpers/esm/iterableToArrayLimit.js
disco_app-0.12.7.pre.puma.pre.3 test/dummy/node_modules/@babel/runtime/helpers/esm/iterableToArrayLimit.js
disco_app-0.14.0 test/dummy/node_modules/@babel/runtime/helpers/esm/iterableToArrayLimit.js
disco_app-0.13.6.pre.puma.pre.3 test/dummy/node_modules/@babel/runtime/helpers/esm/iterableToArrayLimit.js