Bool
extension Bool
-
Creates a new Boolean value from the given Integer.
Precondition
valueis equal to 0 or 1.Declaration
Swift
public init<T>(_ value: T) where T : BinaryIntegerParameters
valueAn
Intused to initialise theBool.
View on GitHub
Bool Extension Reference