<!--
{
  "availability" : [

  ],
  "documentType" : "symbol",
  "framework" : "Accelerate",
  "identifier" : "/documentation/simd/simd_equal(_:_:)-2iweh",
  "metadataVersion" : "0.1.0",
  "role" : "Function",
  "symbol" : {
    "kind" : "Function",
    "modules" : [
      "simd"
    ],
    "preciseIdentifier" : "c:@F@simd_equal#]32C#S0_#"
  },
  "title" : "simd_equal(_:_:)"
}
-->

# 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.

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

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)