---
title: type
framework: createml
role: symbol
role_heading: Instance Property
path: createml/mluntypedcolumn/type
---

# type

The underlying type of the column.

## Declaration

```swift
var type: MLDataValue.ValueType { get }
```

## Discussion

Discussion Use this to determine the underlying type of the column. Then use a corresponding property or method to create an MLDataColumn of the untyped column. For example, if type is equal to MLDataValue.ValueType.double, then use the MLUntypedColumn doubles property.

## See Also

### Exposing the underlying type to generate a data column

- [ints](createml/mluntypedcolumn/ints.md)
- [doubles](createml/mluntypedcolumn/doubles.md)
- [strings](createml/mluntypedcolumn/strings.md)
- [sequences](createml/mluntypedcolumn/sequences.md)
- [dictionaries](createml/mluntypedcolumn/dictionaries.md)
- [multiArrays](createml/mluntypedcolumn/multiarrays.md)
- [column(type:)](createml/mluntypedcolumn/column(type:).md)
