MCPcopy Create free account
hub / github.com/TruthHun/BookStack / looseIndexOf

Function looseIndexOf

static/vuejs/vue.runtime.common.js:230–235  ·  view source on GitHub ↗
(arr, val)

Source from the content-addressed store, hash-verified

228}
229
230function looseIndexOf (arr, val) {
231 for (var i = 0; i < arr.length; i++) {
232 if (looseEqual(arr[i], val)) { return i }
233 }
234 return -1
235}
236
237/**
238 * Ensure a function is called only once.

Callers 1

setSelectedFunction · 0.70

Calls 1

looseEqualFunction · 0.70

Tested by

no test coverage detected