Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for non-plain objects without iterator? #8

Open
amccloud opened this issue May 23, 2024 · 2 comments
Open

Support for non-plain objects without iterator? #8

amccloud opened this issue May 23, 2024 · 2 comments

Comments

@amccloud
Copy link

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

monojack commented May 24, 2024

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

@d07RiV
Copy link

d07RiV commented Nov 18, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants