Skip to content

Conversation

@IKatsuba
Copy link

BREAKING CHAGE: function isObject will now return false for arrays

BREAKING CHAGE: function `isObject` will now return `false` for arrays
@meskill
Copy link
Contributor

meskill commented Mar 16, 2020

I really think these changes will be non-intuitive for most users,
especially when analogs like lodash and ramda threat arrays as objects.

@IKatsuba
Copy link
Author

It is necessary to include cases with arrays in the documentation and tests. It confused me.

@IKatsuba IKatsuba closed this Mar 16, 2020
@IKatsuba IKatsuba deleted the fix-is-object branch March 16, 2020 07:57
@meskill
Copy link
Contributor

meskill commented Mar 16, 2020

yes, docs are not very detailed on that part,
feel free to open another pr with extended doc or create an issue for this

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants