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

# .!=(_:_:)

Pointwise compare not equal to.

## Declaration

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

## Discussion

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