mirror of
https://github.com/Ranchero-Software/NetNewsWire.git
synced 2024-12-23 16:20:53 +01:00
Add missing return value.
This commit is contained in:
parent
321339186f
commit
a3c10165fa
@ -14,7 +14,7 @@ extension String {
|
|||||||
return self.trimmingCharacters(in: .whitespacesAndNewlines).isEmpty ? nil : self
|
return self.trimmingCharacters(in: .whitespacesAndNewlines).isEmpty ? nil : self
|
||||||
}
|
}
|
||||||
|
|
||||||
static func isEmptyOrNil(_ s: String?) {
|
static func isEmptyOrNil(_ s: String?) -> Bool {
|
||||||
if let s {
|
if let s {
|
||||||
return s.isEmpty
|
return s.isEmpty
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user