==(_:_:)
Returns a Boolean value indicating whether two values are equal.
static func == (lhs: Self, rhs: Self) -> Bool
Parameters
Equality is the inverse of inequality. For any values a
and b
, a == b
implies that a != b
is false
.
Returns a Boolean value indicating whether two values are equal.
static func == (lhs: Self, rhs: Self) -> Bool
Equality is the inverse of inequality. For any values a
and b
, a == b
implies that a != b
is false
.
import Swift
protocol Equatable
A type that can be compared for value equality.
@frozen struct Bool
A value type whose instances are either true
or false
.
static func == (lhs: Self, rhs: Self) -> Bool
static func == (x: Self, y: Self) -> Bool
static func == <RHS>(lhs: Self, rhs: RHS) -> Bool where RHS : StringProtocol
static func == <Other>(lhs: Self, rhs: Other) -> Bool where Other : BinaryInteger
Returns a Boolean value indicating whether the two given values are equal.
static func == (a: Self, b: Self) -> Bool
Returns a Boolean value indicating whether two vectors are equal.
import Distributed
nonisolated static func == (lhs: Self, rhs: Self) -> Bool
A distributed actor’s hash and equality is implemented by directly delegating to its id
.
import FoundationEssentials
static func == <RHS>(lhs: Self, rhs: RHS) -> Bool where RHS : AttributedStringProtocol
import Crypto
A cryptography library for Swift.
static func == <D>(lhs: Self, rhs: D) -> Bool where D : DataProtocol
Returns a Boolean value indicating whether a message authentication code is equivalent to a collection of binary data.
static func == (lhs: Self, rhs: Self) -> Bool
Returns a Boolean value indicating whether two message authentication codes are equal.
static func == <D>(lhs: Self, rhs: D) -> Bool where D : DataProtocol
Determines whether a digest is equivalent to a collection of contiguous bytes.
static func == (lhs: Self, rhs: Self) -> Bool
Determines whether two digests are equal.
import SwiftProtobuf
Support library for Swift code generated by protoc-gen-swift.
static func == (lhs: Self, rhs: Self) -> Bool
import SwiftSyntax
A library for working with Swift code.
static func == (lhs: Self, rhs: Self) -> Bool