hasStandardPresets()
Home > @gooddata/sdk-ui-filters > hasStandardPresets
hasStandardPresets() 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.
Check if the presets contain any standard granularities.
Signature:
export declare function hasStandardPresets(presets: DateFilterRelativeOptionGroup): boolean;
Parameters
|
Parameter |
Type |
Description |
|---|---|---|
|
presets |
The relative presets option group to check |
Returns:
boolean
true if any standard granularities are present