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

# tryMap(_:)

## Declaration

```swift
func tryMap<T>(_ transform: @escaping (Output) throws -> T) -> Publishers.TryMap<Upstream, T>
```

## See Also

### Mapping elements

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