Skip to main content

Function: isFeatureEnabled()

function isFeatureEnabled(state, ...params): boolean

Check if a feature flag is enabled

Parameters​

state​

The first argument, often a Redux root state object.

params​

...[string]

All additional arguments passed into the selector.

Returns​

boolean

A derived value from the state.