import { EnumerableFactory } from '../utilities/EnumerableFactory'; import { IEnumerable } from '../types'; import { applyRepeat } from './applicators/applyRepeat'; export function repeat(element: TResult, count: number): IEnumerable { return applyRepeat(new EnumerableFactory(), element, count); }