contains(_:)
Returns a Boolean value indicating whether the decoder contains a value associated with the given key.
Declaration
func contains(_ key: KeyedDecodingContainer<K>.Key) -> BoolParameters
- key:
The key to search for.
Return Value
Whether the Decoder has an entry for the given key.
Discussion
The value associated with the given key may be a null value as appropriate for the data format.