* Checks whether a value is iterable. * @param x - The value to check. * @returns `true` if `x` has a `Symbol.iterator` method.
(x: any)
| 455 | * @returns `true` if `x` has a `Symbol.iterator` method. |
| 456 | */ |
| 457 | function isIterable(x: any): x is Iterable<unknown> { |
| 458 | return Symbol.iterator in x |
| 459 | } |
| 460 | |
| 461 | /** |
| 462 | * Renders an expandable tree view of a value, used to explore a query's data in the devtools. It |