Initializer

init(from:)

Creates a 64-bit integer from another integer wrapped in a data value.

Declaration

init?(from dataValue: MLDataValue)

Discussion

Use this initializer to create a 64-bit integer by converting an MLDataValue with an underlying type of Int. You can confirm the data value’s underlying type by retrieving a non-nil value from intValue or by inspecting the type property.

Relationships