bucketsModifyItem()
Home > @gooddata/sdk-model > bucketsModifyItem
bucketsModifyItem() function
Creates a new array of buckets, each bucket in the array contains modified bucket items (retrieved by applying the modifications function to the bucketItem).
Signature:
export declare function bucketsModifyItem(buckets: IBucket[], modifications?: BucketItemModifications): IBucket[];
Parameters
Parameter | Type | Description |
---|---|---|
buckets | IBucket[] | an array of buckets, all items of each bucket in the array are applied the modification function |
modifications | BucketItemModifications | (Optional) the modification to apply to the bucket items |
Returns:
IBucket[]
a new array of buckets, each bucket in the array contains modified bucket items