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

Function remove

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

* Remove an item from an array

(arr, item)

Source from the content-addressed store, hash-verified

52 * Remove an item from an array
53 */
54function remove (arr, item) {
55 if (arr.length) {
56 var index = arr.indexOf(item);
57 if (index > -1) {
58 return arr.splice(index, 1)
59 }
60 }
61}
62
63/**
64 * Check whether the object has the property.

Callers 5

vue.runtime.esm.jsFile · 0.70
wrappedHookFunction · 0.70
lifecycleMixinFunction · 0.70
registerRefFunction · 0.70
removeTransitionClassFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected