decode(_:forKey:)
Decodes a value of the given type for the given key.
Declaration
func decode(_ type: Bool.Type, forKey key: Self.Key) throws -> BoolParameters
- type:
The type of value to decode.
- key:
The key that the decoded value is associated with.
Return Value
A value of the requested type, if present for the given key and convertible to the requested type.