We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6657c68 commit c00a12cCopy full SHA for c00a12c
Sources/Foundation/Collection/Collection+Empty.swift
@@ -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