---
title: "enableExperimentalFeature(_:_:)"
framework: swift-package-manager
role: symbol
role_heading: Type Method
path: "swift-package-manager/documentation/packagedescription/swiftsetting/enableexperimentalfeature(_:_:)"
---

# enableExperimentalFeature(_:_:)

Enable an experimental feature with the given name.

## Declaration

```swift
static func enableExperimentalFeature(_ name: String, _ condition: BuildSettingCondition? = nil) -> SwiftSetting
```

## Parameters

- `name`: The name of the experimental feature; for example, VariadicGenerics.
- `condition`: A condition that restricts the application of the build setting.

## Discussion

Discussion An experimental feature is one that’s in development, but is not yet available in Swift as a language feature. You can add and use multiple experimental features in a given target without affecting its dependencies. Targets will ignore any  unknown experimental features. note: First available in PackageDescription 5.8.

## See Also

### Configuring Swift Experimental and Upcoming Features

- [enableUpcomingFeature(_:_:)](swift-package-manager/documentation/packagedescription/swiftsetting/enableupcomingfeature(_:_:).md)
