source:
trip-planner-front/node_modules/rxjs/src/internal/util/isIterable.ts@
6a80231
Last change on this file since 6a80231 was 6a3a178, checked in by , 3 years ago | |
---|---|
|
|
File size: 246 bytes |
Rev | Line | |
---|---|---|
[6a3a178] | 1 | import { iterator as Symbol_iterator } from '../symbol/iterator'; |
2 | ||
3 | /** Identifies an input as being an Iterable */ | |
4 | export function isIterable(input: any): input is Iterable<any> { | |
5 | return input && typeof input[Symbol_iterator] === 'function'; | |
6 | } |
Note:
See TracBrowser
for help on using the repository browser.