@newdash/newdash
Version:
javascript/typescript utility library
10 lines (9 loc) • 335 B
TypeScript
/**
* Creates a `find` or `findLast` function.
*
* @private
* @param {Function} findIndexFunc The function to find the collection index.
* @returns {Function} Returns the new find function.
*/
declare function createFind(findIndexFunc: any): (collection: any, predicate?: any, fromIndex?: any) => any;
export default createFind;