> For the complete documentation index, see [llms.txt](https://docs.emobiq.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.emobiq.com/emobiq-client/006-actions-and-visual-logic/action-reference/cordova/array/sum.md).

# sum

## Description

Get the sum of all the values in an array. An array can be created using the toArray function.

## Input / Parameter

| Name   | Description         | Input Type | Default | Options | Required |
| ------ | ------------------- | ---------- | ------- | ------- | -------- |
| values | An array of values. | Array/List | -       | -       | Yes      |

## Output

| Description                                     | Output Type |
| ----------------------------------------------- | ----------- |
| The total value of all the values in the array. | Number      |

## Callback

N/A

## Video

Coming Soon.

## Example

Coming Soon.

### Steps

Coming Soon.

### Result

Coming Soon.

## Links
