---
title: "simd_equal(_:_:)"
framework: simd
role: symbol
role_heading: Function
path: "simd/simd_equal(_:_:)-qmif"
---

# simd_equal(_:_:)

Returns true if every element in a vector is exactly equal to the corresponding element in a second vector, and otherwise returns false.

## Declaration

```swift
func simd_equal(_ x: simd_uchar32, _ y: simd_uchar32) -> simd_bool
```

## See Also

### Common Functions

- [simd_clamp(_:_:_:)](simd/simd_clamp(_:_:_:)-3bfcx.md)
