ts-monorepo

Home > @whatsaaaa/utils > sum

sum() function

Calculates the sum of two numbers

Signature:

export declare function sum(a: number, b: number): number;

Parameters

Parameter Type Description
a number first number
b number second number

Returns:

number