add source npm

_.add(augend, addend)

Adds two numbers.

Arguments

  1. augend (number)

    The first number in an addition.

  2. addend (number)

    The second number in an addition.

Returns (number)

Returns the total.

Example

_.add(6, 4);
// => 10