---
title: debug.feature() function
description: debug.feature() returns the value associated with the given feature flag.
url: https://docs.influxdata.com/flux/v0/stdlib/internal/debug/feature/
estimated_tokens: 79
product: Flux
version: v0
publisher: InfluxData
canonical: https://docs.influxdata.com/flux/v0/stdlib/internal/debug/feature/
date: '2024-04-08T16:01:02-06:00'
lastmod: '2024-04-08T16:01:02-06:00'
---

* Flux 0.68.0+

InfluxDB support

`debug.feature()` returns the value associated with the given feature flag.

##### Function type signature

```js
(key: string) => A
```

For more information, see [Function type signatures](/flux/v0/function-type-signatures/).

## Parameters

### key

(Required)
Feature flag name.
