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

Function looseIndexOf

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

Source from the content-addressed store, hash-verified

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

Callers 1

setSelectedFunction · 0.70

Calls 1

looseEqualFunction · 0.70

Tested by

no test coverage detected