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.
isEmpty
singleElement
1 parent bcdbc05 commit 62b26dcCopy full SHA for 62b26dc
SwiftCompilerSources/Sources/SIL/Utilities/SequenceUtilities.swift
@@ -71,7 +71,7 @@ extension FormattedLikeArray {
71
public protocol CollectionLikeSequence : FormattedLikeArray {
72
}
73
74
-public extension CollectionLikeSequence {
+public extension Sequence {
75
var isEmpty: Bool { !contains(where: { _ in true }) }
76
77
var singleElement: Element? {
0 commit comments