---
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: 247
product: Flux
version: v0
---

# debug.feature() function

-   Flux 0.68.0+
-   View 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.
