source: frontend/node_modules/underscore/modules/indexOf.js

Last change on this file was 9af201e, checked in by MBK <marija.karapandzova@…>, 11 days ago

Fix frontend appearance

  • Property mode set to 100644
File size: 431 bytes
Line 
1import sortedIndex from './sortedIndex.js';
2import findIndex from './findIndex.js';
3import createIndexFinder from './_createIndexFinder.js';
4
5// Return the position of the first occurrence of an item in an array,
6// or -1 if the item is not included in the array.
7// If the array is large and already in sort order, pass `true`
8// for **isSorted** to use binary search.
9export default createIndexFinder(1, findIndex, sortedIndex);
Note: See TracBrowser for help on using the repository browser.