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

Function toObject

static/vuejs/vue.js:183–191  ·  view source on GitHub ↗

* Merge an Array of Objects into a single Object.

(arr)

Source from the content-addressed store, hash-verified

181 * Merge an Array of Objects into a single Object.
182 */
183function toObject (arr) {
184 var res = {};
185 for (var i = 0; i < arr.length; i++) {
186 if (arr[i]) {
187 extend(res, arr[i]);
188 }
189 }
190 return res
191}
192
193/**
194 * Perform no operation.

Callers 2

bindObjectPropsFunction · 0.70
normalizeStyleBindingFunction · 0.70

Calls 1

extendFunction · 0.70

Tested by

no test coverage detected