UNPKG

mout

Version:

Modular Utilities

8 lines (7 loc) 247 B
/** * Recursively flattens an array. * A new array containing all the elements is returned. * If level is specified, it will only flatten up to that level. */ declare function flatten(arr: any, level: any): any; export default flatten;