Enumerationswift 6.0.1FoundationEssentials
SortOrder
The orderings that sorts can be performed with.
- iOS
- 15.0+
- macOS
- 12.0+
- tvOS
- 15.0+
- watchOS
- 8.0+
@frozen enum SortOrder
The orderings that sorts can be performed with.
@frozen enum SortOrder
import FoundationEssentials
case forward
The ordering where if compare(a, b) == .orderedAscending, a is placed before b.
case reverse
The ordering where if compare(a, b) == .orderedAscending, a is placed after b.
protocol BitwiseCopyable
protocol Decodable
A type that can decode itself from an external representation.
protocol Encodable
A type that can encode itself to an external representation.
protocol Equatable
A type that can be compared for value equality.
protocol Hashable : Equatable
A type that can be hashed into a Hasher
to produce an integer hash value.
protocol Sendable
init(from decoder: any Decoder) throws
func encode(to encoder: any Encoder) throws
static func != (lhs: Self, rhs: Self) -> Bool
Returns a Boolean value indicating whether two values are not equal.