Contents

==(_:_:)

Returns a Boolean value indicating whether a message authentication code is equivalent to a collection of binary data.

Declaration

static func == <D>(lhs: Self, rhs: D) -> Bool where D : DataProtocol

Parameters

  • lhs:

    A message authentication code to compare.

  • rhs:

    A collection of binary data to compare.

Return Value

A Boolean value that’s true if the message authentication code and the collection of binary data are equivalent.

See Also

Comparing codes