UNPKG

@newdash/newdash

Version:

javascript/typescript utility library

12 lines (11 loc) 427 B
export default baseIndexOf; /** * The base implementation of `indexOf` without `fromIndex` bounds checks. * * @private * @param {Array} array The array to inspect. * @param {*} value The value to search for. * @param {number} fromIndex The index to search from. * @returns {number} Returns the index of the matched value, else `-1`. */ declare function baseIndexOf(array: any[], value: any, fromIndex: number): number;