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

# min(_:_:)

Vector-scalar minimum.  Each component of the result is the minimum of the corresponding element of the input vector and the scalar.

## Declaration

```swift
func min(_ vector: simd_half2, _ scalar: Float16) -> simd_half2
```
