import { IterableX } from '../../iterable/iterablex.js'; import { some } from '../../iterable/some.js'; import { FindOptions } from '../../iterable/findoptions.js'; /** * @ignore */ export function someProto(this: IterableX, options: FindOptions): boolean { return some(this, options as any); } IterableX.prototype.some = someProto; declare module '../../iterable/iterablex' { interface IterableX { some: typeof someProto; } }