import { EnumerableFactory } from '../utilities/EnumerableFactory'; import { IEnumerable } from '../types'; import { applyWhere } from './applicators/applyWhere'; export function where( src: Iterable, exp: (item: TSource, index: number) => boolean ): IEnumerable { return applyWhere(new EnumerableFactory(), src, exp); }