The first number to add.
The second number to add.
Returns the sum.
Calculates n rounded up to precision.
The number to round up.
The precision to round up to.
Returns the rounded up number.
Divide two numbers.
The first number in a division.
The second number in a division.
Returns the quotient.
Calculates n rounded down to precision.
The number to round down.
The precision to round down to.
Returns the rounded down number.
Computes the maximum value of array
. If array
is empty or falsey
undefined
is returned.
Returns the maximum value.
This method is like _.max
except that it accepts iteratee
which is
invoked for each element in array
to generate the criterion by which
the value is ranked. The iteratee is invoked with one argument: (value).
The iteratee invoked per element.
Returns the maximum value.
Computes the mean of the values in array
.
Returns the mean.
Computes the mean of the provided propties of the objects in the array
The iteratee invoked per element.
Returns the mean.
Computes the minimum value of array
. If array
is empty or falsey
undefined
is returned.
Returns the minimum value.
This method is like _.min
except that it accepts iteratee
which is
invoked for each element in array
to generate the criterion by which
the value is ranked. The iteratee is invoked with one argument: (value).
The iteratee invoked per element.
Returns the minimum value.
Multiply two numbers.
The first number in a multiplication.
The second number in a multiplication.
Returns the product.
Calculates n rounded to precision.
The number to round.
The precision to round to.
Returns the rounded number.
Subtract two numbers.
The first number in a subtraction.
The second number in a subtraction.
Returns the difference.
Computes the sum of the values in array
.
Returns the sum.
This method is like _.sum
except that it accepts iteratee
which is
invoked for each element in array
to generate the value to be summed.
The iteratee is invoked with one argument: (value).
Returns the sum.
Generated using TypeDoc
Adds two numbers.