UNPKG

xhy-xe-utils

Version:
23 lines (20 loc) 559 B
import { XEUtilsMethods } from '../xe-utils' /** * 返回对象第一个索引值 * @param obj 对象 * @param iteratee 迭代器/属性 * @param context 上下文 */ export declare function findIndexOf(obj: any, iteratee: any, context?: any): any; declare module '../xe-utils' { interface XEUtilsMethods { /** * 返回对象第一个索引值 * @param obj 对象 * @param iteratee 迭代器/属性 * @param context 上下文 */ findIndexOf: typeof findIndexOf; } } export default findIndexOf