bucketsIsEmpty()
Home > @gooddata/sdk-model > bucketsIsEmpty
bucketsIsEmpty() function
Tests whether all buckets in a list are empty (meaning neither has any items or totals defined)
Signature:
export declare function bucketsIsEmpty(buckets: IBucket[]): boolean;
Parameters
Parameter | Type | Description |
---|---|---|
buckets | IBucket[] | buckets to work with |
Returns:
boolean
true if empty, false if not