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