source: trip-planner-front/node_modules/rxjs/src/internal/util/isIterable.ts

Last change on this file was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago

initial commit

  • Property mode set to 100644
File size: 246 bytes
Line 
1import { iterator as Symbol_iterator } from '../symbol/iterator';
2
3/** Identifies an input as being an Iterable */
4export 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.