UNPKG

ll-package

Version:

2 lines (1 loc) 359 B
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const u=require("./_arrayPush.js"),b=require("./_isFlattenable.js");function a(l,i,n,o,e){var t=-1,g=l.length;for(n||(n=b.default),e||(e=[]);++t<g;){var f=l[t];i>0&&n(f)?i>1?a(f,i-1,n,o,e):u.default(e,f):o||(e[e.length]=f)}return e}exports.default=a;