Returns the sum of the values of the elements of a list x.
     
    sum_of(x)
    Arguments
    
    Details
    If there is a tie, and equal_is_random is TRUE,
the index of one of the tied maxima is returned at random. Otherwise,
the value with the lowest index is returned.
    Examples
    #> [1] 6