---
title: "supportedRevisions(for:)"
framework: naturallanguage
role: symbol
role_heading: Type Method
path: "naturallanguage/nlmodelconfiguration/supportedrevisions(for:)"
---

# supportedRevisions(for:)

Returns the versions of the Natural Language framework the OS supports.

## Declaration

```swift
class func supportedRevisions(for type: NLModel.ModelType) -> IndexSet
```

## Return Value

Return Value An index set of version numbers.

## See Also

### Accessing the configuration

- [language](naturallanguage/nlmodelconfiguration/language.md)
- [revision](naturallanguage/nlmodelconfiguration/revision.md)
- [currentRevision(for:)](naturallanguage/nlmodelconfiguration/currentrevision(for:).md)
- [type](naturallanguage/nlmodelconfiguration/type.md)
- [NLModel.ModelType](naturallanguage/nlmodel/modeltype.md)
