TimeSeries.columns() throws iterator exception instead of returning empty array
Open
- Dominant language
- TypeScript
- Stars
- 211
- Forks
- 42
- PR merge metrics
- No merged PRs in 30d
Description
If a TimeSeries happens to have zero columns in it, then invoking columns() should return an empty array.
Instead it throws an exception: "Uncaught TypeError: Cannot read property 'events' of null".
Currently the only way to test for zero columns is to ask for the columns array and catch the exception from this iterator.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.