bucketsById()
Home > @gooddata/sdk-model > bucketsById
bucketsById() function
Gets buckets with the provided local identifiers from a list of buckets.
Signature:
export declare function bucketsById(buckets: IBucket[], ...ids: string[]): IBucket[];
Parameters
Parameter | Type | Description |
---|---|---|
buckets | IBucket[] | list of buckets to filter |
ids | string[] | bucket identifiers |
Returns:
IBucket[]
empty list if none match