==(_:_:)
Determines whether a digest is equivalent to a collection of contiguous bytes.
Declaration
static func == <D>(lhs: Self, rhs: D) -> Bool where D : DataProtocolParameters
- 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.