-
map(_:Extension method) Declaration
Swift
public func map<P, C>(_ f: (A) -> C) -> P where P : SymmetricPair, C == P.AReturn Value
A
SymmetricPairwith its members transformed by the given function.
-
contains(_:Extension method) Declaration
Swift
@inlinable public func contains(_ value: A) -> BoolReturn Value
trueif one of the values contained herein is equivalent to the givenvalue. Otherwise,false.
View on GitHub
Install in Dash
SymmetricPair Protocol Reference