The underlying type a string uses when it wraps itself in a data value.
SDKs
- macOS 10.14+
- Xcode 10.0+
Framework
- Create ML
Declaration
static var dataValueType: MLDataValue .ValueType { get }
Discussion
A string value converts to an MLData
.
The underlying type a string uses when it wraps itself in a data value.
SDKs
Framework
static var dataValueType: MLDataValue .ValueType { get }
A string value converts to an MLData
.
init?(from: MLDataValue)
Creates a string from another string wrapped in a data value.
var dataValue : MLDataValue
The string wrapped in a data value.