UNPKG

@arrows/array

Version:
13 lines (12 loc) 372 B
declare type _Get_ = <T>(index: number, arr: T[]) => T | undefined; declare type _Get2_ = <T>(index: number) => (arr: T[]) => T | undefined; declare type Get_ = _Get_ & _Get2_; /** * Retrieves an element at the specific index. * * @param index Specific index * @returns Element at the specific index */ declare const get_: Get_; export { get_ }; export default get_;