(input: unknown)
| 1295 | * @since 2.0.0 |
| 1296 | */ |
| 1297 | export function isIterable(input: unknown): input is Iterable<unknown> { |
| 1298 | return hasProperty(input, Symbol.iterator) || isString(input) |
| 1299 | } |
| 1300 | |
| 1301 | /** |
| 1302 | * Checks whether a value is a `Promise`-like object with `then` and `catch`. |