UNPKG

318 BJavaScriptView Raw
1/**
2 * @ignore
3 */
4export function returnIterator(it) {
5 if (typeof it.return === 'function') {
6 it.return();
7 }
8}
9/**
10 * @ignore
11 */
12export async function returnAsyncIterator(it) {
13 if (typeof it.return === 'function') {
14 await it.return();
15 }
16}
17
18//# sourceMappingURL=returniterator.mjs.map