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

Function looseIndexOf

static/vuejs/vue.runtime.esm.js:228–233  ·  view source on GitHub ↗
(arr, val)

Source from the content-addressed store, hash-verified

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

Callers 1

setSelectedFunction · 0.70

Calls 1

looseEqualFunction · 0.70

Tested by

no test coverage detected