Skip to main content

Function: getVehicleOptions()

function getVehicleOptions(state, ...params): object

Returns all vehicle selection options for the specified question set

Parameters​

state​

The first argument, often a Redux root state object.

params​

...[string]

All additional arguments passed into the selector.

Returns​

object

A derived value from the state.

configurations​

configurations: undefined | IVehicleConfigurationOptions;

makes​

makes: undefined | IVehicleMakeOptions;

models​

models: undefined | IVehicleModelOptions;

selection​

selection: undefined | IVehicleSelection;

vin​

vin: undefined | IVehicleVinOptions;

years​

years: undefined | IVehicleYearOptions;

Param​

The BpSdk Redux store

Param​

Question Group ID