---
title: type
framework: coreml
role: symbol
role_heading: Instance Property
path: coreml/mlsequence/type
---

# type

The underlying type of the sequence’s elements.

## Declaration

```swift
var type: MLFeatureType { get }
```

## Discussion

Discussion The sequence’s underlying element type can only be either MLFeatureType.string or MLFeatureType.int64. Use this value to determine whether to access stringValues or int64Values at runtime.
