function
Source: bucketArray.ts ↗
bucketsById()
Gets buckets with the provided local identifiers from a list of buckets.
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