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

Function looseIndexOf

static/vuejs/vue.js:238–243  ·  view source on GitHub ↗
(arr, val)

Source from the content-addressed store, hash-verified

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

Callers 1

setSelectedFunction · 0.70

Calls 1

looseEqualFunction · 0.70

Tested by

no test coverage detected