isSubtotalRowDefinition()
Home > @gooddata/sdk-ui > isSubtotalRowDefinition
isSubtotalRowDefinition() 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.
Type guard to check if a row definition is a subtotal row.
Signature:
export declare function isSubtotalRowDefinition(row: ITableRowDefinition): row is ITableSubtotalRowDefinition;
Parameters
Parameter | Type | Description |
---|---|---|
row | ITableRowDefinition | The row definition to check |
Returns:
row is ITableSubtotalRowDefinition
true if the row is a subtotal row