---
title: ".!=(_:_:)"
framework: swift
role: symbol
role_heading: Operator
path: "swift/simd3/'.!=(_:_:)-70ndl"
---

# .!=(_:_:)

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

## Declaration

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

## Discussion

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