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

# type

The type of this feature.

## Declaration

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

## See Also

### Inspecting a feature

- [name](coreml/mlfeaturedescription/name.md)
- [MLFeatureType](coreml/mlfeaturetype.md)
- [isOptional](coreml/mlfeaturedescription/isoptional.md)
