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

Use Array.isArray instead. #75

Merged
merged 1 commit into from
Sep 9, 2023
Merged

Use Array.isArray instead. #75

merged 1 commit into from
Sep 9, 2023

Conversation

fnando
Copy link
Owner

@fnando fnando commented Sep 9, 2023

_.isArray individual package has been deprecated, and in lodash it is just an alias of Array.isArray.

This commit directly uses Array.isArray to avoid an import from lodash.

Ref: https://github.com/lodash/lodash/blob/4.17.15/lodash.js#L11286

Close #70

`_.isArray` individual package has been deprecated, and in lodash it is
just an alias of `Array.isArray`.

This commit directly uses `Array.isArray` to avoid an import from
lodash.

Ref: https://github.com/lodash/lodash/blob/4.17.15/lodash.js#L11286
@fnando fnando merged commit ce64b96 into main Sep 9, 2023
2 checks passed
@fnando fnando deleted the nv-lodash-is-array branch September 9, 2023 15:23
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

Successfully merging this pull request may close these issues.

2 participants