function
Source: index.ts ↗
insightBuckets()
Gets buckets for the insight. If ids are provided, then only returns buckets matching the ids.
export declare function insightBuckets(insight: IInsightDefinition, ...ids: string[]): IBucket[];
Parameters
Parameter | Type | Description |
|---|---|---|
insight | insight to work with | |
ids | string[] | local identifiers of buckets |
Returns
IBucket[]
empty list if none match