2 Commits

Author SHA1 Message Date
igork-ramotion 54dbcc8c2e Merge pull request #5 from MikhailZimin/fix-isNilOrEmpty-availability
fixed isNilOrEmpty availability.
2020-02-24 00:54:44 +03:00
Mikhail Zimin 6c92596228 fixed isNilOrEmpty availability. 2020-02-19 11:58:40 +07:00
2 changed files with 2 additions and 2 deletions
@@ -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?: