---
title: "|=(_:_:)"
framework: swift
role: symbol
role_heading: Operator
path: "swift/uint128/_=(_:_:)-8ko9m"
---

# |=(_:_:)

Stores the result of performing a bitwise OR operation on the two given values in the left-hand-side variable.

## Declaration

```swift
static func |= (a: inout UInt128, b: UInt128)
```

## Discussion

Discussion A bitwise OR operation results in a value that has each bit set to 1 where one or both of its arguments have that bit set to 1. For example: var x: UInt8 = 5          // 0b00000101 let y: UInt8 = 14         // 0b00001110 x |= y                    // 0b00001111
