/** ## `is_last_index` : 检查给定索引是否为数组或类数组对象的最后一个索引 + 通过比较传入的索引值与数组长度减一的结果,判断该索引是否指向最后一个元素 + 适用于任何具有 `length` 属性和数字索引访问的对象(如数组、字符串、NodeList等) @example 检查数组最后一个索引 ```ts const arr = [1, 2, 3, 4]; console.log(is_last_index(arr, 3)); // true console.log(is_last_index(arr, 2)); // false ``` @example 检查字符串最后一个字符索引 ```ts const str = "hello"; console.log(is_last_index(str, 4)); // true console.log(is_last_index(str, 3)); // false ``` @category Collect */ export declare function is_last_index(alike: ArrayLike, index: number): boolean; //# sourceMappingURL=isLastIndex.d.ts.map