/** * Collection of items in the form of an object or an array. * * @template T The type of the items in the collection. * @returns The collection. * @example Collection // Iterable | Record | readonly number[] */ type Collection = Iterable | readonly T[] | Record; export type { Collection };