Files
NapCatQQ/.pnpm-store/v3/files/91/0c13c69ee735f69f3fdff84b25a0a6f5d0bda3e9a947a62d722d95704a02e8f00efa9e7ccc5c9224a2f3bb272edb22dcd808fc7cf0251d6f5050715a103f20
T
TanTan e311ca3275
Build NapCat Artifacts / Type Check & Test (push) Waiting to run
docs: 仓库链接指向本镜像仓库
2026-11-13 09:25:58 +08:00

23 lines
467 B
Plaintext

import createMathOperation from './_createMathOperation.js';
/**
* Adds two numbers.
*
* @static
* @memberOf _
* @since 3.4.0
* @category Math
* @param {number} augend The first number in an addition.
* @param {number} addend The second number in an addition.
* @returns {number} Returns the total.
* @example
*
* _.add(6, 4);
* // => 10
*/
var add = createMathOperation(function(augend, addend) {
return augend + addend;
}, 0);
export default add;