Operator
==(_:_:)
Determines whether a digest is equivalent to a collection of contiguous bytes.
- iOS 13.0+
- macCatalyst 13.0+
- macOS 10.15+
- tvOS 13.0+
- visionOS 1.0+
- watchOS 6.0+
static func == <D>(lhs: Self, rhs: D) -> Bool where D : DataProtocol
Parameters
-
lhs
-
A digest to compare.
-
rhs
-
A collection of contiguous bytes to compare.
Return Value
A Boolean value that’s true if the digest is equivalent to the collection of binary data.