findDateFilterOptionByValue()
Home > @gooddata/sdk-ui-filters > findDateFilterOptionByValue
findDateFilterOptionByValue() function
This API is provided as an alpha preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
Finds the date filter option whose stored value equals the provided filter's value.
Signature:
export declare function findDateFilterOptionByValue(dateFilter: IDashboardDateFilter, dateFilterOptions: IDateFilterOptionsByType): DateFilterOption | undefined;
Parameters
|
Parameter |
Type |
Description |
|---|---|---|
|
dateFilter | ||
|
dateFilterOptions |
Returns:
DateFilterOption | undefined