---
title: "map(_:)"
framework: combine
role: symbol
role_heading: Instance Method
path: "combine/publishers/map/map(_:)"
---

# map(_:)

## Declaration

```swift
func map<T>(_ transform: @escaping (Output) -> T) -> Publishers.Map<Upstream, T>
```

## See Also

### Mapping elements

- [tryMap(_:)](combine/publishers/map/trymap(_:).md)
