---
title: ".!=(_:_:)"
framework: swift
role: symbol
role_heading: Operator
path: "swift/simd4/'.!=(_:_:)-4rkvj"
---

# .!=(_:_:)

Pointwise compare not equal to.

## Declaration

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

## Discussion

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