Operatorswift 6.0.3FoundationEssentials
<(_:_:)
- iOS
- 16.4+
- macOS
- 13.3+
- tvOS
- 16.4+
- watchOS
- 9.4+
static func < (lhs: UUID, rhs: UUID) -> Bool
static func < (lhs: UUID, rhs: UUID) -> Bool
import FoundationEssentials
struct UUID
Represents UUID strings, which can be used to uniquely identify types, interfaces, and other items.
@frozen struct Bool
A value type whose instances are either true
or false
.
init()
init(from decoder: any Decoder) throws
init(uuid: uuid_t)
Create a UUID from a uuid_t
.
init?(uuidString string: String)
Create a UUID from a string such as “E621E1F8-C36C-495A-93FC-0C247A3E6E5F”.
var customMirror: Mirror { get }
var debugDescription: String { get }
var description: String { get }
var uuid: uuid_t { get }
var uuidString: String { get }
Returns a string created from the UUID, such as “E621E1F8-C36C-495A-93FC-0C247A3E6E5F”
static func == (lhs: UUID, rhs: UUID) -> Bool
func encode(to encoder: any Encoder) throws
func hash(into hasher: inout Hasher)