toArray()
Home > @gooddata/sdk-ui > IDataSeriesCollection > toArray
IDataSeriesCollection.toArray() method
Returns all data series in an array.
Signature:
toArray(): IDataSeries[];
Returns:
empty if no data series
Remarks
Note: if you are looking for a subset of measures, always prefer using the first-class methods and in favor of getting the array and filtering yourself.