docs-v2/content/flux/v0/stdlib/internal/debug/feature.md

1.3 KiB

title description menu weight
debug.feature() function `debug.feature()` returns the value associated with the given feature flag.
flux_v0_ref
name parent identifier
debug.feature internal/debug internal/debug/feature
201

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

Function type signature
(key: string) => A

{{% caption %}} For more information, see Function type signatures. {{% /caption %}}

Parameters

key

({{< req >}}) Feature flag name.