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

# 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_half32, _ scalar: Float16) -> simd_half32
```
