Creates an array from a dictionary wrapped in a data value.
SDKs
- macOS 10.14+
- Xcode 10.0+
Framework
- Create ML
Declaration
init?(from dataValue: MLData Value)
Available when Key conforms to MLData Value Convertible and Value conforms to MLData Value Convertible.
Discussion
Use this initializer to create an array by converting an MLData with an underlying type of MLData. You can confirm the data value’s underlying type by retrieving a non-nil value from dictionary or by inspecting the type property.
This initializer is equivalent to init(from:).