Generic Instance Method
総称体インスタンスメソッド
decode
decodeIfPresent(_:forKey:configuration:)
No overview available.
Availability
- iOS 15.0+
- iPadOS 15.0+
- macOS 12.0+
- Mac Catalyst 15.0+
- tvOS 15.0+
- watchOS 8.0+
- Xcode 13.0+
Technology
- Foundation ファウンデーション
Declaration 宣言
func decodeIfPresent<T>(_: T.Type, forKey key: KeyedDecodingContainer
<K>.Key
, configuration: T.DecodingConfiguration
) throws -> T? where T : DecodableWithConfiguration