MCPcopy Index your code
hub / github.com/TruthHun/BookStack / toObject

Function toObject

static/vuejs/vue.runtime.esm.js:177–185  ·  view source on GitHub ↗

* Merge an Array of Objects into a single Object.

(arr)

Source from the content-addressed store, hash-verified

175 * Merge an Array of Objects into a single Object.
176 */
177function toObject (arr) {
178 var res = {};
179 for (var i = 0; i < arr.length; i++) {
180 if (arr[i]) {
181 extend(res, arr[i]);
182 }
183 }
184 return res
185}
186
187/**
188 * Perform no operation.

Callers 2

bindObjectPropsFunction · 0.70
normalizeStyleBindingFunction · 0.70

Calls 1

extendFunction · 0.70

Tested by

no test coverage detected