Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
executable file 6 lines (4 sloc) 165 Bytes
import { findIndex } from './find-index';
export function indexOf<T>(array: T[], searchedValue: T) {
return findIndex(array, value => value === searchedValue);
}
You can’t perform that action at this time.