import { MonoTypeOperatorFunction } from '../../interfaces'; import { IterableX } from '../../iterable/iterablex'; import { SkipLastIterable } from '../skiplast'; export function skipLast(count: number): MonoTypeOperatorFunction { return function skipLastOperatorFunction(source: Iterable): IterableX { return new SkipLastIterable(source, count); }; }