Bool
struct Bool
-
Mechanica
Returns 1 if true, or 0 if false.
Declaration
Swift
public var int: Int { get } -
Mechanica
Returns a
newBool with the inverted value ofself.Declaration
Swift
public var toggled: Bool { get } -
Mechanica
Creates a string representing the given value in the binary base.
Example:
true.binaryString -> "1"Declaration
Swift
public var binaryString: String { get }
Bool Extension Reference