Type Property

dataValueType

The underlying type a dictionary uses when it wraps itself in a data value.

Declaration

static var dataValueType: MLDataValue.ValueType { get }
Available when Key conforms to MLDataValueConvertible and Value conforms to MLDataValueConvertible.

Discussion

A dictionary value converts to an MLDataValue.ValueType.dictionary.

Relationships

See Also

Converting Between Dictionaries and Create ML Types

init?(from: MLDataValue)

Creates an array from a dictionary wrapped in a data value.

var dataValue: MLDataValue

The dictionary wrapped in a data value.