ts-monorepo

Home > @whatsaaaa/utils > sum4

sum4() function

This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.

Calculates the sum of four numbers

Signature:

export declare function sum4(a: number, b: number, c: number, d: number): number;

Parameters

Parameter Type Description
a number fist number
b number second number
c number third number
d number fourth number

Returns:

number