func max()

in Source/Charts/Utils/Sequence+KeyPath.swift [16:18]


    func max<T: Comparable>(by keyPath: KeyPath<Element, T>) -> Element? {
        max(by: keyPath, areInIncreasingOrder: <)
    }