Home
last modified time | relevance | path

Searched refs:flattenObject (Results 1 – 2 of 2) sorted by relevance

/third_party/node/deps/npm/node_modules/jsprim/
DREADME.md41 ### 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 logically
100 equivalent to `flattenObject(obj, depth).forEach(func)`. Importantly, this
104 There's another difference between `flattenObject` and `flattenIter` that's
105 related to the special case where `depth === 0`. In this case, `flattenObject`
/third_party/node/deps/npm/node_modules/jsprim/lib/
Djsprim.js21 exports.flattenObject = flattenObject;
203 function flattenObject(data, depth) function
217 flattenObject(data[key], depth - 1).forEach(function (p) {