Turn Features On and Off using Feature Flags


[Up] [Top]

Documentation for package ‘featureflag’ version 0.2.0

Help Pages

create_bool_feature_flag Creates an instance of a bool feature flag with the specified bool value.
create_connect_group_feature_flag Creates an instance of a connect feature flag that is enabled for specific groups
create_connect_user_feature_flag Creates an instance of a connect feature flag that is enabled for specific users
create_env_var_feature_flag Creates an instance of a feature flag that is enabled based on an environment variable
create_feature_flag Creates the base of a feature flag.
create_percentage_feature_flag Creates an instance of a percentage feature flag with a specified chance of being enabled
create_time_period_feature_flag Creates an instance of a time period feature flag.
feature_if Evaluates the provided expression if the feature flag is enabled.
feature_ifelse Evaluates one or the other expression based on whether the feature flag is enabled.
is_enabled Checks if the given feature flag is enabled.
is_enabled.bool_feature_flag Checks if the given bool feature flag is enabled
is_enabled.connect_group_feature_flag Checks if the given connect group feature flag is enabled
is_enabled.connect_user_feature_flag Checks if the given connect user feature flag is enabled
is_enabled.env_var_feature_flag Checks if the given environment variable feature flag is enabled
is_enabled.percentage_feature_flag Checks if the given percentage flag is enabled
is_enabled.time_period_feature_flag Checks if the given bool feature flag is enabled