We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
prefer-compact gives false-positives for objects. _.filter allows collections (both arrays and objects), while _.compact only arrays...
prefer-compact
_.filter
_.compact
by the way, how is _.compact(arr) better than _.filter(collection)? They both do the same, and _.filter allows for both arrays and objects...
_.compact(arr)
_.filter(collection)
The text was updated successfully, but these errors were encountered:
No branches or pull requests
prefer-compact
gives false-positives for objects._.filter
allows collections (both arrays and objects), while_.compact
only arrays...by the way, how is
_.compact(arr)
better than_.filter(collection)
? They both do the same, and_.filter
allows for both arrays and objects...The text was updated successfully, but these errors were encountered: