Skip to main content
reference

StringVector

Static Methods

==(::)

Compares two `StringVector` instances for equality. This function compares the contents of two `StringVector` instances by calling the `privmx.compareVectors` function.

public static func == (lhs: privmx.StringVector, rhs: privmx.StringVector) -> Bool

NameTypeDescription
lhsprivmx.StringVectorThe left-hand side `StringVector` instance.
rhsprivmx.StringVectorThe right-hand side `StringVector` instance.

TypeDescription
Bool `true` if both vectors are equal, otherwise `false`.

Methods

hash(into:)

Generates a hash value for the `StringVector`. This function generates the hash based on the `count` of the vector.

public func hash(into hasher: inout Hasher)

NameTypeDescription
hasherinout HasherThe `Hasher` instance used to compute the hash value.