Generic Instance Method
総称体インスタンスメソッド
decode
decodeIfPresent(_:forKey:)
No overview available.
Availability
- iOS 8.0+
- iPadOS 8.0+
- macOS 10.10+
- Mac Catalyst 13.0+
- tvOS 9.0+
- watchOS 2.0+
- Xcode 9.0+
Technology
- Swift Standard Library Swift標準ライブラリ
Declaration 宣言
func decodeIfPresent<T>(_ type: T.Type, forKey key: K) throws -> T? where T : Decodable