1 | import { IterableX } from './iterablex';
|
2 | /** @nocollapse */
|
3 | export function of(...args) {
|
4 | return new OfIterable(args);
|
5 | }
|
6 | export class OfIterable extends IterableX {
|
7 | constructor(args) {
|
8 | super();
|
9 | this._args = args;
|
10 | }
|
11 | *[Symbol.iterator]() {
|
12 | yield* this._args;
|
13 | }
|
14 | }
|
15 |
|
16 | //# sourceMappingURL=of.mjs.map
|