UNPKG

ix

Version:

The Interactive Extensions for JavaScript

18 lines (14 loc) 376 B
import { IterableX } from '../../iterable/iterablex.js'; import { isEmpty } from '../../iterable/isempty.js'; /** * @ignore */ export function isEmptyProto<T>(this: IterableX<T>): boolean { return isEmpty(this); } IterableX.prototype.isEmpty = isEmptyProto; declare module '../../iterable/iterablex' { interface IterableX<T> { isEmpty: typeof isEmptyProto; } }