BoolValueConvertible
public protocol BoolValueConvertible
This protocol specifies that the types using it should be able to convert their forms into a Bool format.
-
Returns Bool value or nil if conversion isn’t possible.
Declaration
Swift
var boolValue: Bool? { get } -
Returns Bool value or false if conversion isn’t possible.
Declaration
Swift
var boolValueOrDefault: Bool { get }
Install in Dash
BoolValueConvertible Protocol Reference