28 lines
529 B
Markdown
28 lines
529 B
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
|
|
[Home](./index.md) > [@apextoaster/js-utils](./js-utils.md) > [sum](./js-utils.sum.md)
|
|
|
|
## sum() function
|
|
|
|
Add numbers.
|
|
|
|
PredicateR2<!-- --><<!-- -->number, number<!-- -->>
|
|
|
|
<b>Signature:</b>
|
|
|
|
```typescript
|
|
export declare function sum(a: number, b: number): number;
|
|
```
|
|
|
|
## Parameters
|
|
|
|
| Parameter | Type | Description |
|
|
| --- | --- | --- |
|
|
| a | number | |
|
|
| b | number | |
|
|
|
|
<b>Returns:</b>
|
|
|
|
number
|
|
|