Sha256: 79f0945f9659ff15a3b81b92f70c6e8eb00c5830087a044c6b1ba5e6dde6c3ad

Contents?: true

Size: 497 Bytes

Versions: 44

Compression:

Stored size: 497 Bytes

Contents

import arrayLikeToArray from "./arrayLikeToArray.js";
function _unsupportedIterableToArray(r, a) {
  if (r) {
    if ("string" == typeof r) return arrayLikeToArray(r, a);
    var t = {}.toString.call(r).slice(8, -1);
    return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? arrayLikeToArray(r, a) : void 0;
  }
}
export { _unsupportedIterableToArray as default };

Version data entries

44 entries across 44 versions & 2 rubygems

Version Path
clapton-0.0.19 lib/clapton/javascripts/node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js
clapton-0.0.18 lib/clapton/javascripts/node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js
clapton-0.0.17 lib/clapton/javascripts/node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js
clapton-0.0.16 lib/clapton/javascripts/node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js
clapton-0.0.15 lib/clapton/javascripts/node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js
immosquare-cleaner-0.1.49 node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js
clapton-0.0.14 lib/clapton/javascripts/node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js
immosquare-cleaner-0.1.48 node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js
clapton-0.0.13 lib/clapton/javascripts/node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js
clapton-0.0.12 lib/clapton/javascripts/node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js
clapton-0.0.11 lib/clapton/javascripts/node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js
clapton-0.0.10 lib/clapton/javascripts/node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js
clapton-0.0.9 lib/clapton/javascripts/node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js
clapton-0.0.8 lib/clapton/javascripts/node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js
clapton-0.0.7 lib/clapton/javascripts/node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js
clapton-0.0.6 lib/clapton/javascripts/node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js
clapton-0.0.5 lib/clapton/javascripts/node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js
clapton-0.0.4 lib/clapton/javascripts/node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js
clapton-0.0.3 lib/clapton/javascripts/node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js
clapton-0.0.2 lib/clapton/javascripts/node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js