function
Source: bucketArray.ts ↗
bucketsMeasures()
Gets all measures matching the provided predicate from a list of buckets.
export declare function bucketsMeasures(buckets: IBucket[], predicate?: MeasurePredicate): IMeasure[];
Parameters
Parameter | Type | Description |
|---|---|---|
buckets | IBucket[] | list of buckets to get measures from |
predicate | (Optional) measure predicate; anyMeasure is default |
Returns
IMeasure[]
empty list if none match
Remarks
If no predicate is provided, then the function defaults to anyMeasure predicate - meaning all measures will be returned.