Build NapCat Artifacts / Windows Loader Test (push) Canceled after 0s
Build NapCat Artifacts / Type Check & Test (push) Canceled after 0s
Build NapCat Artifacts / Build NapCat.Framework (push) Canceled after 0s
Build NapCat Artifacts / Build NapCat.Shell (push) Canceled after 0s
7 lines
267 B
Plaintext
7 lines
267 B
Plaintext
import { CreateType } from '../create/type.mjs';
|
|
import { Kind } from '../symbols/index.mjs';
|
|
/** `[JavaScript]` Creates an Iterator type */
|
|
export function Iterator(items, options) {
|
|
return CreateType({ [Kind]: 'Iterator', type: 'Iterator', items }, options);
|
|
}
|