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