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

# min(_:_:)

Returns the minimum value of each element in a vector.

## Declaration

```swift
func min(_ vector: SIMD2<UInt32>, _ scalar: UInt32) -> SIMD2<UInt32>
```

## See Also

### Extrema Functions

- [simd_min(_:_:)](simd/simd_min(_:_:)-9b5n7.md)
- [min(_:_:)](simd/min(_:_:)-70ls4.md)
- [simd_max(_:_:)](simd/simd_max(_:_:)-8931y.md)
- [max(_:_:)](simd/max(_:_:)-9ch4d.md)
- [max(_:_:)](simd/max(_:_:)-9fm5e.md)
