Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 54dbcc8c2e | |||
| 6c92596228 |
@@ -29,7 +29,7 @@ public extension Dictionary {
|
||||
}
|
||||
}
|
||||
|
||||
extension Optional where Wrapped: Collection {
|
||||
public extension Optional where Wrapped: Collection {
|
||||
var isNilOrEmpty: Bool {
|
||||
switch self {
|
||||
case let collection?:
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import Foundation
|
||||
import UIKit
|
||||
|
||||
extension Optional where Wrapped == String {
|
||||
public extension Optional where Wrapped == String {
|
||||
var isNilOrEmpty: Bool {
|
||||
switch self {
|
||||
case let string?:
|
||||
|
||||
Reference in New Issue
Block a user