UNPKG

custom-bootstrap-vue

Version:

Custom version of bootstrap-vue created for providing specific theme to a particular project

14 lines (11 loc) 270 B
import looseEqual from './loose-equal' const looseIndexOf = (arr, val) => { // Assumes that the first argument is an array for (let i = 0; i < arr.length; i++) { if (looseEqual(arr[i], val)) { return i } } return -1 } export default looseIndexOf