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

# bucketsIsEmpty()

- Package: [@gooddata/sdk-model](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-model/index.md)
- Kind: function
- Source: https://github.com/gooddata/gooddata-ui-sdk/blob/rel/11.64/libs/sdk-model/src/execution/buckets/bucketArray.ts

Tests whether all buckets in a list are empty (meaning neither has any items or totals defined)

**Signature:**

```typescript
export declare function bucketsIsEmpty(buckets: IBucket[]): boolean;
```

## Parameters

| Parameter | Type | Description |
| --- | --- | --- |
| buckets | [IBucket](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-model/sdk-model.ibucket/index.md)[] | buckets to work with |

**Returns:**

boolean

true if empty, false if not
