Bit
public enum Bit : UInt8, CustomStringConvertible
Represents a binary flag, either .zero
or .one
-
Converts the value of this bit as a boolean value
Returns
true
ifone
, otherwisefalse
Declaration
Swift
public var asBool: Bool { get }