findDateFilterOptionByValue()
Alpha API. Initial API, highly likely to change outside SemVer. Don’t build on it in production.
Finds the date filter option whose stored value equals the provided filter’s value.
export declare function findDateFilterOptionByValue(dateFilter: IDashboardDateFilter, dateFilterOptions: IDateFilterOptionsByType): DateFilterOption | undefined;
Parameters
Parameter | Type | Description |
|---|---|---|
dateFilter | ||
dateFilterOptions |
Returns
DateFilterOption | undefined