Skip to main content
Version: Next

FeatureFlag

FeatureFlag

Class representing a feature flag in CommandKit.

new FeatureFlag(options)
ParameterTypeOptionalDescription
optionsFeatureFlagDefinition<R, T>The options for the feature flag.

Properties

public options: any

The options for the feature flag.

Methods

public execute(res?): Promise<R>

Execute the feature flag evaluation.

ParameterTypeOptionalDescription
resTOptional entities to use for evaluation. If not provided, it will call the identify function.