Bool
struct Bool
-
Returns the integer value of the boolean (i.e.
1iftrue, otherwise0).Declaration
Swift
var toInt: Int { get }
SylvesterCommon Docs (48% documented)
struct Bool
Returns the integer value of the boolean (i.e. 1 if true, otherwise 0).
Swift
var toInt: Int { get }