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 | IBucket | bucket to test |
Returns:
boolean
true if empty, false if not