selectFilterContextDefinition
Home > @gooddata/sdk-ui-dashboard > selectFilterContextDefinition
selectFilterContextDefinition variable
This selector returns current dashboard's filter context definition.
Signature:
selectFilterContextDefinition: import("@reduxjs/toolkit").OutputSelector<DashboardState, import("@gooddata/sdk-model").IFilterContextDefinition, (res: import("./filterContextState").FilterContextState) => import("@gooddata/sdk-model").IFilterContextDefinition>
Remarks
It is expected that the selector is called only after the filter context state is correctly initialized. Invocations before initialization lead to invariant errors.