---
title: ".==(_:_:)"
framework: swift
role: symbol
role_heading: Operator
path: "swift/simdmask/'.==(_:_:)-60n7g"
---

# .==(_:_:)

A vector mask with the result of a pointwise equality comparison.

## Declaration

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

## Discussion

Discussion Equivalent to: var result = SIMDMask<SIMD16<Int>>() for i in result.indices {   result[i] = a[i] == b[i] }
