import type { NormalizedSeriesProps } from '../../types' ; export function reverse ( { series , seriesNormalized , minX , maxX , maxY , minY } ) { series = Array . isArray ( series ) ? [ ... series ] . reverse ( ) : series ; return { series , seriesNormalized , maxX , maxY , minX , minY } ; }