---
title: "allSatisfy(_:)"
framework: swift
role: symbol
role_heading: Instance Method
path: "swift/optional/publisher-swift.struct/allsatisfy(_:)"
---

# allSatisfy(_:)

## Declaration

```swift
func allSatisfy(_ predicate: (Optional<Wrapped>.Publisher.Output) -> Bool) -> Optional<Bool>.Publisher
```
