* Checks whether a value is iterable. * @param x - The value to check. * @returns `true` if `x` has a `Symbol.iterator` method.
(x: any)
| 423 | * @returns `true` if `x` has a `Symbol.iterator` method. |
| 424 | */ |
| 425 | function isIterable(x: any): x is Iterable<unknown> { |
| 426 | return Symbol.iterator in x |
| 427 | } |
| 428 | |
| 429 | /** |
| 430 | * Renders an expandable tree view of a value, used to explore a query's data in the devtools. It |