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 if one, otherwise false

    Declaration

    Swift

    public var asBool: Bool { get }