Function
normalize
(a: string | number | (string | number)[])
Source from the content-addressed store, hash-verified
| 26 | function normalize(a: string | string[]): string[]; |
| 27 | function normalize(a: number | number[]): number[]; |
| 28 | function normalize(a: string | number | (string | number)[]): (string | number)[] { |
| 29 | if (!(a instanceof Array)) { |
| 30 | a = [a, a]; |
| 31 | } |
| 32 | return a; |
| 33 | } |
| 34 | |
| 35 | const linesVisual: StageHandler = { |
| 36 | seriesType: 'lines', |
Tested by
no test coverage detected
Used in the wild real call sites across dependent graphs
searching dependent graphs…