Instance Method
mapPatch(_:)
Returns a new variant collection containing the traits of this variant collection with the values transformed by the given closure.
func mapPatch<TransformedValue>(_ transform: (Value) -> TransformedValue) -> VariantCollection<TransformedValue>.Variant where TransformedValue : Decodable, TransformedValue : Encodable