BoolKeyCodable
public protocol BoolKeyCodable
Mechanica
Types adopting the BoolKeyCodable
protocol can be used to construct key path to Bool
values.
-
bool(forKey:)
Extension methodMechanica
Returns a
Bool
value for aBoolKey
.Declaration
Swift
public final func bool(forKey key: BoolKey) -> Bool