> Documentation index: https://www.gooddata.ai/docs/gooddata-ui/llms.txt lists every page of these docs as Markdown.

# isSubtotalRowDefinition()

- Package: [@gooddata/sdk-ui](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui/index.md)
- Kind: function
- Stability: alpha
- Source: https://github.com/gooddata/gooddata-ui-sdk/blob/rel/11.64/libs/sdk-ui/src/base/results/tableData/interfaces/rows.ts

> **Alpha API.** Initial API, highly likely to change outside SemVer. Don't build on it in production. See [API maturity](https://www.gooddata.ai/docs/gooddata-ui/latest/integrations/platform/api-maturity/index.md).
> 

Type guard to check if a row definition is a subtotal row.

**Signature:**

```typescript
export declare function isSubtotalRowDefinition(row: ITableRowDefinition): row is ITableSubtotalRowDefinition;
```

## Parameters

| Parameter | Type | Description |
| --- | --- | --- |
| row | [ITableRowDefinition](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui/sdk-ui.itablerowdefinition/index.md) | The row definition to check |

**Returns:**

row is [ITableSubtotalRowDefinition](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui/sdk-ui.itablesubtotalrowdefinition/index.md)

true if the row is a subtotal row
