FeatureFlagValue interface

Value of a feature flag

Properties

conditions

A Feature filter consistently evaluates the state of a feature flag. Our feature management library supports three types of built-in filters: Targeting, TimeWindow, and Percentage. Custom filters can also be created based on different factors, such as device used, browser types, geographic location, etc.

More Info

description

Description of the feature.

displayName

Display name for the feature to use for display rather than the ID.

enabled

Boolean flag to say if the feature flag is enabled.

id

Id for the feature flag.

Property Details

conditions

A Feature filter consistently evaluates the state of a feature flag. Our feature management library supports three types of built-in filters: Targeting, TimeWindow, and Percentage. Custom filters can also be created based on different factors, such as device used, browser types, geographic location, etc.

More Info

conditions: { clientFilters: { name: string, parameters?: Record<string, unknown> }[] }

Property Value

{ clientFilters: { name: string, parameters?: Record<string, unknown> }[] }

description

Description of the feature.

description?: string

Property Value

string

displayName

Display name for the feature to use for display rather than the ID.

displayName?: string

Property Value

string

enabled

Boolean flag to say if the feature flag is enabled.

enabled: boolean

Property Value

boolean

id

Id for the feature flag.

id?: string

Property Value

string