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

Returns true for [] #1

Closed
devinus opened this issue Feb 18, 2015 · 1 comment
Closed

Returns true for [] #1

devinus opened this issue Feb 18, 2015 · 1 comment

Comments

@devinus
Copy link

devinus commented Feb 18, 2015

No description provided.

@ljharb
Copy link
Member

ljharb commented Feb 18, 2015

Right, an array is an object. If you want to filter out specific subsets of objects, use isObject([]) && !Array.isArray([]) for example.

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

2 participants