(value: Iterable<unknown> | Record<PropertyKey, unknown>)
| 143 | * @returns Whether the value is an {@link Iterable}. |
| 144 | */ |
| 145 | export function isIterable(value: Iterable<unknown> | Record<PropertyKey, unknown>): value is Iterable<unknown> { |
| 146 | return Symbol.iterator in value; |
| 147 | } |
| 148 | |
| 149 | /** |
| 150 | * Like Object.entries(), but includes symbol-keyed properties. |
no outgoing calls
no test coverage detected