---
title: "output(in:)"
framework: combine
role: symbol
role_heading: Instance Method
path: "combine/just/output(in:)"
---

# output(in:)

## Declaration

```swift
func output<R>(in range: R) -> Optional<Output>.Publisher where R : RangeExpression, R.Bound == Int
```

## See Also

### Selecting specific elements

- [first()](combine/just/first().md)
- [first(where:)](combine/just/first(where:).md)
- [last()](combine/just/last().md)
- [last(where:)](combine/just/last(where:).md)
- [output(at:)](combine/just/output(at:).md)
