Searched refs:flattenObject (Results 1 – 2 of 2) sorted by relevance
41 ### flattenObject(obj, depth)47 flattenObject({97 This is similar to `flattenObject` except that instead of returning an array,99 `flattenObject` would return. `flattenIter(obj, depth, func)` is logically100 equivalent to `flattenObject(obj, depth).forEach(func)`. Importantly, this104 There's another difference between `flattenObject` and `flattenIter` that's105 related to the special case where `depth === 0`. In this case, `flattenObject`
21 exports.flattenObject = flattenObject;203 function flattenObject(data, depth) function217 flattenObject(data[key], depth - 1).forEach(function (p) {