Skip to main content

Function: getStorefrontActiveEnrolledProductsCodes()

function getStorefrontActiveEnrolledProductsCodes(state, ...params): null | string[]

A function that takes a state and returns data that is based on that state.

Parameters​

state​

The first argument, often a Redux root state object.

params​

...[]

All additional arguments passed into the selector.

Returns​

null | string[]

A derived value from the state.