---
title: "!=(_:_:)"
framework: swift
role: symbol
role_heading: Operator
path: "swift/stringprotocol/!=(_:_:)"
---

# !=(_:_:)

## Declaration

```swift
static func != <RHS>(lhs: Self, rhs: RHS) -> Bool where RHS : StringProtocol
```
