bucketIsEmpty()
Home > @gooddata/sdk-model > bucketIsEmpty
bucketIsEmpty() function
Tests whether the provided bucket is empty = contains no items and no totals.
Signature:
export declare function bucketIsEmpty(bucket: IBucket): boolean;
Parameters
| Parameter | Type | Description | 
|---|---|---|
| bucket | bucket to test | 
Returns:
boolean
true if empty, false if not