Sha256: cf1b3bd786b907dbc0d87cc6126d0c2c43ba13dfd542ea6e74cf06cdf3917e1b
Contents?: true
Size: 301 Bytes
Versions: 5
Compression:
Stored size: 301 Bytes
Contents
import arrayLikeToArray from "./arrayLikeToArray"; export default 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); }
Version data entries
5 entries across 5 versions & 2 rubygems