Instance Property

isValid

A Boolean value indicating whether the column is valid.

Declaration

var isValid: Bool { get }

Discussion

You check isValid after an MLDataColumn has been created or mutated because none of its initializers, methods, or operators throw an error. For example, comparing two columns of different sizes creates an invalid column.

See Also

Handling Data Column Errors

var error: Error?

The underlying error present when the column is invalid.