-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
Add isNotEmpty
extension
#3387
Add isNotEmpty
extension
#3387
Conversation
Here's an example of your CHANGELOG entry: * Add `isNotEmpty` extension.
[PaulTaykalo](https://github.com/PaulTaykalo)
[#issue_number](https://github.com/realm/SwiftLint/issues/issue_number) note: There are two invisible spaces after the entry's text. Generated by 🚫 Danger |
Codecov Report
@@ Coverage Diff @@
## master #3387 +/- ##
==========================================
- Coverage 90.50% 90.49% -0.01%
==========================================
Files 420 420
Lines 20552 20555 +3
==========================================
+ Hits 18601 18602 +1
- Misses 1951 1953 +2
Continue to review full report at Codecov.
|
d735693
to
fb0b6c2
Compare
Thanks! |
From one point of view, this is a simple sugar-like extension.
Pros:
isEmpty
calls will look like a natural languageCons: