aboutsummaryrefslogtreecommitdiffstats
path: root/node_modules/@babel/runtime/helpers/esm/maybeArrayLike.js
blob: 527c682b3bfe7cc27f4a5e94f900e51f2837cde7 (plain) (blame)
1
2
3
4
5
6
7
8
9
import arrayLikeToArray from "./arrayLikeToArray.js";
function _maybeArrayLike(r, a, e) {
  if (a && !Array.isArray(a) && "number" == typeof a.length) {
    var y = a.length;
    return arrayLikeToArray(a, void 0 !== e && e < y ? e : y);
  }
  return r(a, e);
}
export { _maybeArrayLike as default };
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage