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

# min(_:_:)

Elementwise minimum of two vectors.  Each component of the result is the smaller of the corresponding component of the inputs.

## Declaration

```swift
func min(_ x: simd_half4, _ y: simd_half4) -> simd_half4
```
