isChronologicalGranularity()
Home > @gooddata/sdk-model > isChronologicalGranularity
isChronologicalGranularity() 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.
Signature:
isChronologicalGranularity: (g: string | undefined) => boolean
Parameters
|
Parameter |
Type |
Description |
|---|---|---|
|
g |
string | undefined |
Returns:
boolean
Remarks
Unknown or undefined input returns false — this is NOT the negation of isCyclicalGranularity(), which also returns false for unknown input. Callers that want to default unknown granularities to chronological must handle that themselves.