---
title: ".==(_:_:)"
framework: swift
role: symbol
role_heading: Operator
path: "swift/simd3/'.==(_:_:)-9lb6p"
---

# .==(_:_:)

Pointwise compare equal to.

## Declaration

```swift
static func .== (a: SIMD3<Scalar>, b: SIMD3<Scalar>) -> SIMDMask<SIMD3<Scalar>.MaskStorage>
```

## Discussion

Discussion Each lane of the result is true if that lane of a is equal to the corresponding lane of b, and false otherwise. Equivalent to: var result = SIMDMask<MaskStorage>() for i in 0..<3 {   result[i] = (a[i] == b[i]) }
