Skip to content

Commit c00a12c

Browse files
Filipp Krasnovidvmzhivetyev
authored andcommitted
Collection+Empty
1 parent 6657c68 commit c00a12c

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
import Foundation
2+
3+
extension Collection {
4+
/// isEmpty inversion
5+
var isNotEmpty: Bool {
6+
return !isEmpty
7+
}
8+
}

0 commit comments

Comments
 (0)