hasStandardPresets()
Alpha API. Initial API, highly likely to change outside SemVer. Don’t build on it in production. See API maturity.
Check if the presets contain any standard granularities.
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