UNPKG

@newdash/newdash

Version:

javascript/typescript utility library

21 lines (20 loc) 365 B
/** * Adds two numbers. * * @since 5.3.0 * @category Math * @param augend The first number in an addition. * @param addend The second number in an addition. * @returns Returns the total. * @example * * ```js * add(6, 4) * // => 10 * add('6', '4') * // => '64' * ``` * */ export declare function add<T>(augend: T, addend: T): T; export default add;