Initializer

init(from:)

Creates a data-value dictionary from another dictionary.

Declaration

init?(from dataValue: MLDataValue)

Discussion

Use this initializer to create an MLDataValue.DictionaryType from another data-value dictionary instance. You can confirm the data value’s underlying type by retrieving a non-nil value from dictionaryValue or by inspecting the type property.

Relationships