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

Function looseIndexOf

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

Source from the content-addressed store, hash-verified

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

Callers 1

setSelectedFunction · 0.70

Calls 1

looseEqualFunction · 0.70

Tested by

no test coverage detected