Add missing return value.

This commit is contained in:
Brent Simmons committed 2024-08-23 18:05:19 -07:00
1 parent 321339186f
commit a3c10165fa
1 file changed
+1 -1
@@ -14,7 +14,7 @@ extension String {
return self.trimmingCharacters(in: .whitespacesAndNewlines).isEmpty ? nil : self
}
static func isEmptyOrNil(_ s: String?) {
static func isEmptyOrNil(_ s: String?) -> Bool {
if let s {
return s.isEmpty
}