---
title: ".|=(_:_:)"
framework: swift
role: symbol
role_heading: Operator
path: "swift/simdmask/'._=(_:_:)-6rb2k"
---

# .|=(_:_:)

Replaces a with the pointwise logical disjunction of a and b.

## Declaration

```swift
static func .|= (a: inout SIMDMask<Storage>, b: Bool)
```

## Discussion

Discussion Equivalent to: if b { a = SIMDMask(repeating: true) }
