Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Debian packages RPM packages NuGet packages

Repository URL to install this package:

Details    
chain-able-deps / dist / typings / array / indexOf.d.ts
Size: Mime:
/**
 * A specialized version of `indexOf` which performs strict equality
 * comparisons of values, i.e. `===`.
 *
 * @memberOf array
 * @since 5.0.0-beta.1
 *
 * @param {Array} array The array to inspect.
 * @param {*} value The value to search for.
 * @param {number} fromIndex The index to search from.
 * @return {number} Returns the index of the matched value, else `-1`.
 *
 * @example
 *
 *    indexOf([10], 10) //=> 0
 *    indexOf([], 10)   //=> -1
 *
 */
declare function strictIndexOf<ValueType = any, ArrayType = Array<any>>(array: ArrayType & Array<any>, value: ValueType, fromIndex: number): number;
export default strictIndexOf;