             return runningTotal
         }
     }
-
 }
 
 

    
    /// SwifterSwift: Get last index where condition is met.
    ///
    /// - Parameter where: condition to evaluate each element against.
    /// - Returns: last index where the specified condition evaluates to true.
    public func lastIndex(where condition: (Element) -> Bool) -> Int? {
        for (index, value) in lazy.enumerated().reversed() {
            if condition(value) { return index }

    
    /// SwifterSwift: Get last element that satisfies a conditon.
    ///
    /// - Parameter condition: condition to evaluate each element against.
    /// - Returns: the last element in the array matching the specified condition. (optional)
    public func last(where condition: (Element) -> Bool) -> Element? {
        for element in reversed() where condition(element) { return element }
        return nil
