type ArrayIterator<T, R> = (value: T, index: number, collection: T[]) => R;

export type { ArrayIterator };
