☰
Debian Codegraph
@
368-1
367-1
/
/
node
/
rxjs
/
src
/
internal
/
symbol
/
iterator.ts
☽
☼
node/rxjs/src/internal/symbol/iterator.ts
code
plain
raw
Apache-2.0
2015-2018 Google, Inc., Netflix, Inc., Microsoft Corp. and contributors; Ben Lesh; Microsoft Corporation.
debian/copyright
1
export function getSymbolIterator(): symbol {
2
if (typeof Symbol !== 'function' || !Symbol.iterator) {
3
return '@@iterator' as any;
4
}
5
6
return Symbol.iterator;
7
}
8
9
export const iterator = getSymbolIterator();