---
title: "min(_:_:)"
framework: simd
role: symbol
role_heading: Function
path: "simd/min(_:_:)-jyi5"
---

# min(_:_:)

Returns the minimum value of each element in a vector.

## Declaration

```swift
func min(_ x: SIMD2<Int32>, _ y: SIMD2<Int32>) -> SIMD2<Int32>
```

## See Also

### Extrema Functions

- [simd_max(_:_:)](simd/simd_max(_:_:)-2xs4j.md)
- [max(_:_:)](simd/max(_:_:)-9xpv0.md)
- [max(_:_:)](simd/max(_:_:)-9uijf.md)
- [simd_min(_:_:)](simd/simd_min(_:_:)-3focz.md)
- [min(_:_:)](simd/min(_:_:)-goji.md)
