39940de3760209563ef3b717abbceaad48f0fd57bc1fcc1b58a972fc82e8ffd908eccc7c4204bc65c30a15fa2c6092e883091b02d107847a49a163dba5a59a 246 B

123456
  1. import { iterator as Symbol_iterator } from '../symbol/iterator';
  2. /** Identifies an input as being an Iterable */
  3. export function isIterable(input: any): input is Iterable<any> {
  4. return input && typeof input[Symbol_iterator] === 'function';
  5. }