UNPKG

rxjs

Version:

Reactive Extensions for modern JavaScript

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