Creates a double from another double wrapped in a data value.
SDKs
- macOS 10.14+
- Xcode 10.0+
Framework
- Create ML
Declaration
init?(from dataValue: MLData Value)
Discussion
Use this initializer to create a double by converting an MLData with an underlying type of Double. You can confirm the data value’s underlying type by retrieving a non-nil value from double or by inspecting the type property.