Bool

struct Bool
  • Converts Bool to Int.

    Declaration

    Swift

    public var toInt: Int
  • Toggle boolean value.

    Declaration

    Swift

    public mutating func toggle() -> Bool
  • Return inverted value of bool.

    Declaration

    Swift

    public var toggled: Bool