# FeatureFlagInfo

{% dynamic setvar source_file "src/main/java/com/google/devtools/build/lib/starlarkbuildapi/config/ConfigFeatureFlagProviderApi.java" %} {% dynamic setvar version "8.3.0" %} {% dynamic setvar original_path "/rules/lib/providers/FeatureFlagInfo" %} {% include "_buttons.html" %} A provider used to access information about config_feature_flag rules.

## Members

- error
- is_valid_value
- value

## error

    string FeatureFlagInfo.error

If non-None, this error was generated when trying to compute current value of flag. May return `None`.

## is_valid_value

    bool FeatureFlagInfo.is_valid_value(value)

The value of the flag in the configuration used by the flag rule.

### Parameters

Parameter | Description
--- | ---
`value` | string; required String, the value to check for validity for this flag.

## value

    string FeatureFlagInfo.value

The current value of the flag in the flag's current configuration. None if there is an error. May return `None`.