```js export const isIterable = value => isFunction(value?.[Symbol.iterator]) || (value && Object.keys(value).length > 0) ```