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

# 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_uchar4, _ y: simd_uchar4) -> simd_bool
```

## See Also

### Common Functions

- [simd_clamp(_:_:_:)](simd/simd_clamp(_:_:_:)-7gs2x.md)
