max() Declarationfunc max() -> Optional<Publishers.Sequence<Elements, Failure>.Output>.Publisher See AlsoApplying mathematical operations on elementscount()count()count()max(by:)min()min(by:)