Type Property

dataValueType

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

Declaration

static var dataValueType: MLDataValue.ValueType { get }

Discussion

A Boolean value converts to an MLDataValue.ValueType.int.

Relationships

See Also

Using a Boolean as a Data Value

init?(from: MLDataValue)

Creates a Boolean from an integer wrapped in a data value.

var dataValue: MLDataValue

The Boolean wrapped in a data value.