||(_:_:)

@available(iOS 13.0, macOS 10.15, *)
public func || (lhs: Binding<Bool>, rhs: Binding<Bool>) -> Binding<Bool>

Combine two boolean bindings with a logic OR operator into a single readonly boolean binding

Parameters

lhs

first boolean binding

rhs

second boolean binding

Return Value

boolean binding with readonly access