# MIN function

## `MIN` function

| Function Name | Description | Usage | Input parameter | Return value |
|---|---|---|---|---|
| `MIN` | Finds the lowest value in an array. | `MIN()` | N/A | Lowest value in an array. |

## Supported data type


The `MIN` function supports the following data types:

- Double array
- Integer array

## Example 1: Find the lowest value in an integer array


**Sample data** : `$var1$ = {5,8,2,1}`


**Usage** : `$var1$.MIN()`
Return the lowest value in var1.


**Output** : `1`

## Example 2: Find the lowest value in a double array


**Sample data** : `$var1$ = {2.5,6.1,4.9}`


**Usage** : `$var1$.MIN()`
Return the lowest value in var1.


**Output** : `2.5`

## Recommendation

- Learn how to add and configure a [Data Mapping task](https://docs.cloud.google.com/application-integration/docs/configure-data-mapping-task.md.txt)