Creates an array from a sequence wrapped in a data value.
SDKs
- macOS 10.14+
- Xcode 10.0+
Framework
- Create ML
Declaration
init?(from dataValue: MLDataValue )
Available when Element conforms to MLDataValueConvertible .
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 sequence
or by inspecting the type
property.