Pinq\IAggregatable::sum PHP Method

sum() public method

Returns the sum of the values.
public sum ( callable $function = null ) : integer | double | null
$function callable The function which will return the values.
return integer | double | null
    public function sum(callable $function = null);