Instance Propertypureswift.bluetooth 7.2.0Bluetooth
isEmpty
BitMaskOption.swift:102This declaration is deprecated: Use OptionSet instead
var isEmpty: Bool { get }
This declaration is deprecated: Use OptionSet instead
var isEmpty: Bool { get }
import Bluetooth
Pure Swift Bluetooth Definitions.
struct BitMaskOptionSet<Element> where Element : BitMaskOption
Integer-backed array type for BitMaskOption
.
@frozen struct Bool
A value type whose instances are either true
or false
.
init()
init(rawValue: RawValue)
static var all: BitMaskOptionSet<Element> { get }
var count: Int { get }
var rawValue: RawValue { get }
func contains<S>(_ other: S) -> Bool where Element == S.Element, S : Sequence
func contains(_ element: Element) -> Bool
mutating func insert(_ element: Element)
@discardableResult mutating func remove(_ element: Element) -> Bool
mutating func removeAll()
typealias RawValue = Element.RawValue