---
title: ".|(_:_:)"
framework: swift
role: symbol
role_heading: Operator
path: "swift/simdmask/'._(_:_:)-75fbk"
---

# .|(_:_:)

A vector mask that is the pointwise logical disjunction of the inputs.

## Declaration

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

## Discussion

Discussion Equivalent to b ? SIMDMask(repeating: true) : a
