<!--
{
  "availability" : [
    "iOS: 15.0.0 -",
    "iPadOS: 15.0.0 -",
    "macCatalyst: -",
    "macOS: 12.0.0 -",
    "visionOS: -",
    "watchOS: 8.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "PassKit",
  "identifier" : "/documentation/PassKit/PKStoredValuePassBalance/==(_:_:)",
  "metadataVersion" : "0.1.0",
  "role" : "Operator",
  "symbol" : {
    "kind" : "Operator",
    "modules" : [
      "PassKit (Apple Pay and Wallet)",
      "PassKit"
    ],
    "preciseIdentifier" : "s:So24PKStoredValuePassBalanceC0C3KitE2eeoiySbAB_ABtFZ"
  },
  "title" : "==(_:_:)"
}
-->

# ==(_:_:)

Returns a Boolean value that indicates whether two pass balance objects contain the same values.

```
static func == (lhs: PKStoredValuePassBalance, rhs: PKStoredValuePassBalance) -> Bool
```

## Parameters

`lhs`

A stored-value pass balance object to compare.

`rhs`

Another stored-value pass balance object to compare.

## Return Value

<doc://com.apple.documentation/documentation/Swift/true> if the two stored-value pass balance objects are equal; otherwise, <doc://com.apple.documentation/documentation/Swift/false>

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)