---
title: min()
framework: createml
role: symbol
role_heading: Instance Method
path: createml/mldatacolumn/min()
---

# min()

Returns the element with the lowest value in a column of doubles.

## Declaration

```swift
func min() -> Double?
```

## Return Value

Return Value A Double; otherwise nil if the column is empty or invalid.

## See Also

### Getting the min and max element values

- [max()](createml/mldatacolumn/max().md)
