1
0
forked from jchomaz/Vulture
Files
Vulture/VApp/node_modules/rxjs/src/internal/symbol/iterator.ts

10 lines
215 B
TypeScript
Raw Normal View History

export function getSymbolIterator(): symbol {
if (typeof Symbol !== 'function' || !Symbol.iterator) {
return '@@iterator' as any;
}
return Symbol.iterator;
}
export const iterator = getSymbolIterator();