Sha256: 284a02ae1f0ccdd1798f7aea5741ce3e2e0fb8e3fec23bb696225571ce671b3a

Contents?: true

Size: 470 Bytes

Versions: 17

Compression:

Stored size: 470 Bytes

Contents

"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.default = _maybeArrayLike;
var _arrayLikeToArray = require("./arrayLikeToArray.js");
function _maybeArrayLike(orElse, arr, i) {
  if (arr && !Array.isArray(arr) && typeof arr.length === "number") {
    var len = arr.length;
    return (0, _arrayLikeToArray.default)(arr, i !== void 0 && i < len ? i : len);
  }
  return orElse(arr, i);
}

//# sourceMappingURL=maybeArrayLike.js.map

Version data entries

17 entries across 13 versions & 2 rubygems

Version Path
immosquare-cleaner-0.1.51 node_modules/jscodeshift/node_modules/@babel/core/node_modules/@babel/helpers/lib/helpers/maybeArrayLike.js
immosquare-cleaner-0.1.51 node_modules/@babel/helpers/lib/helpers/maybeArrayLike.js
immosquare-cleaner-0.1.50 node_modules/jscodeshift/node_modules/@babel/core/node_modules/@babel/helpers/lib/helpers/maybeArrayLike.js
immosquare-cleaner-0.1.50 node_modules/@babel/helpers/lib/helpers/maybeArrayLike.js
immosquare-cleaner-0.1.49 node_modules/@babel/helpers/lib/helpers/maybeArrayLike.js
immosquare-cleaner-0.1.49 node_modules/jscodeshift/node_modules/@babel/core/node_modules/@babel/helpers/lib/helpers/maybeArrayLike.js
immosquare-cleaner-0.1.48 node_modules/jscodeshift/node_modules/@babel/core/node_modules/@babel/helpers/lib/helpers/maybeArrayLike.js
immosquare-cleaner-0.1.48 node_modules/@babel/helpers/lib/helpers/maybeArrayLike.js
immosquare-cleaner-0.1.47 node_modules/@babel/helpers/lib/helpers/maybeArrayLike.js
immosquare-cleaner-0.1.46 node_modules/@babel/helpers/lib/helpers/maybeArrayLike.js
immosquare-cleaner-0.1.45 node_modules/@babel/helpers/lib/helpers/maybeArrayLike.js
immosquare-cleaner-0.1.44 node_modules/@babel/helpers/lib/helpers/maybeArrayLike.js
immosquare-cleaner-0.1.43 node_modules/@babel/helpers/lib/helpers/maybeArrayLike.js
immosquare-cleaner-0.1.42 node_modules/@babel/helpers/lib/helpers/maybeArrayLike.js
immosquare-cleaner-0.1.41 node_modules/@babel/helpers/lib/helpers/maybeArrayLike.js
immosquare-cleaner-0.1.40 node_modules/@babel/helpers/lib/helpers/maybeArrayLike.js
wice_grid-7.1.0 node_modules/@babel/helpers/lib/helpers/maybeArrayLike.js