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, isObject from lodash, Buffer.isBuffer #1

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

yrambler2001
Copy link

Array.isArray exists more than 10 years.
Screenshot 2024-03-13 at 21 12 49
There is no need to use value && typeof value === 'object' && value.constructor === Array

@yrambler2001 yrambler2001 changed the title use Array.isArray use Array.isArray, isObject from lodash, Buffer.isBuffer Mar 13, 2024
@tshemsedinov
Copy link

Please add permalinks to code like in this issue: diia-open-source/be-user-service#92 or at least urls to certain files

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