max(emptyErrorAlternative = THROW_IF_EMPTY) {
        return this.fold((e1, e2) => e1 < e2 ? e2 : e1, emptyErrorAlternative);
    }
Returns the largest value in the sequence, as determined by the `<` operator. If the sequence  is empty, then
either an error is thrown or the given alternative value is returned.
@param {=A} emptyErrorAlternative The value to return if the sequence is empty. If not provided, an error
is thrown when the sequence is empty.
@returns {T|A}
@template T, A