react-object-view icon indicating copy to clipboard operation
react-object-view copied to clipboard

Support for non-plain objects without iterator?

Open amccloud opened this issue 1 year ago • 2 comments

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

amccloud avatar May 23 '24 00:05 amccloud

Could you give more details? Btw, any PRs are welcome

monojack avatar May 24 '24 05:05 monojack

Any custom class shows as {...} and cannot be expanded :|

d07RiV avatar Nov 18 '24 13:11 d07RiV