UNPKG

mout

Version:

Modular Utilities

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